hal_data.h 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /* generated HAL header file - do not edit */
  2. #ifndef HAL_DATA_H_
  3. #define HAL_DATA_H_
  4. #include <stdint.h>
  5. #include "bsp_api.h"
  6. #include "common_data.h"
  7. #include "r_sci_uart.h"
  8. #include "r_uart_api.h"
  9. FSP_HEADER
  10. /** UART on SCI Instance. */
  11. extern const uart_instance_t g_uart3;
  12. /** Access the UART instance using these structures when calling API functions directly (::p_api is not used). */
  13. extern sci_uart_instance_ctrl_t g_uart3_ctrl;
  14. extern const uart_cfg_t g_uart3_cfg;
  15. extern const sci_uart_extended_cfg_t g_uart3_cfg_extend;
  16. #ifndef user_uart3_callback
  17. void user_uart3_callback(uart_callback_args_t * p_args);
  18. #endif
  19. #define FSP_NOT_DEFINED (1)
  20. #if (FSP_NOT_DEFINED == FSP_NOT_DEFINED)
  21. #define g_uart3_P_TRANSFER_TX (NULL)
  22. #else
  23. #define g_uart3_P_TRANSFER_TX (&FSP_NOT_DEFINED)
  24. #endif
  25. #if (FSP_NOT_DEFINED == FSP_NOT_DEFINED)
  26. #define g_uart3_P_TRANSFER_RX (NULL)
  27. #else
  28. #define g_uart3_P_TRANSFER_RX (&FSP_NOT_DEFINED)
  29. #endif
  30. #undef FSP_NOT_DEFINED
  31. /** UART on SCI Instance. */
  32. extern const uart_instance_t g_uart0;
  33. /** Access the UART instance using these structures when calling API functions directly (::p_api is not used). */
  34. extern sci_uart_instance_ctrl_t g_uart0_ctrl;
  35. extern const uart_cfg_t g_uart0_cfg;
  36. extern const sci_uart_extended_cfg_t g_uart0_cfg_extend;
  37. #ifndef user_uart0_callback
  38. void user_uart0_callback(uart_callback_args_t * p_args);
  39. #endif
  40. #define FSP_NOT_DEFINED (1)
  41. #if (FSP_NOT_DEFINED == FSP_NOT_DEFINED)
  42. #define g_uart0_P_TRANSFER_TX (NULL)
  43. #else
  44. #define g_uart0_P_TRANSFER_TX (&FSP_NOT_DEFINED)
  45. #endif
  46. #if (FSP_NOT_DEFINED == FSP_NOT_DEFINED)
  47. #define g_uart0_P_TRANSFER_RX (NULL)
  48. #else
  49. #define g_uart0_P_TRANSFER_RX (&FSP_NOT_DEFINED)
  50. #endif
  51. #undef FSP_NOT_DEFINED
  52. void hal_entry(void);
  53. void g_hal_init(void);
  54. FSP_FOOTER
  55. #endif /* HAL_DATA_H_ */