hal_data.h 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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_dtc.h"
  8. #include "r_transfer_api.h"
  9. #include "r_sci_spi.h"
  10. #include "r_spi_api.h"
  11. #include "r_sci_uart.h"
  12. #include "r_uart_api.h"
  13. FSP_HEADER
  14. /* Transfer on DTC Instance. */
  15. extern const transfer_instance_t g_transfer1;
  16. /** Access the DTC instance using these structures when calling API functions directly (::p_api is not used). */
  17. extern dtc_instance_ctrl_t g_transfer1_ctrl;
  18. extern const transfer_cfg_t g_transfer1_cfg;
  19. /* Transfer on DTC Instance. */
  20. extern const transfer_instance_t g_transfer0;
  21. /** Access the DTC instance using these structures when calling API functions directly (::p_api is not used). */
  22. extern dtc_instance_ctrl_t g_transfer0_ctrl;
  23. extern const transfer_cfg_t g_transfer0_cfg;
  24. /** SPI on SCI Instance. */
  25. extern const spi_instance_t g_sci_spi9;
  26. /** Access the SCI_SPI instance using these structures when calling API functions directly (::p_api is not used). */
  27. extern sci_spi_instance_ctrl_t g_sci_spi9_ctrl;
  28. extern const spi_cfg_t g_sci_spi9_cfg;
  29. /** Called by the driver when a transfer has completed or an error has occurred (Must be implemented by the user). */
  30. #ifndef sci_spi9_callback
  31. void sci_spi9_callback(spi_callback_args_t * p_args);
  32. #endif
  33. /** UART on SCI Instance. */
  34. extern const uart_instance_t g_uart4;
  35. /** Access the UART instance using these structures when calling API functions directly (::p_api is not used). */
  36. extern sci_uart_instance_ctrl_t g_uart4_ctrl;
  37. extern const uart_cfg_t g_uart4_cfg;
  38. extern const sci_uart_extended_cfg_t g_uart4_cfg_extend;
  39. #ifndef user_uart4_callback
  40. void user_uart4_callback(uart_callback_args_t * p_args);
  41. #endif
  42. /** UART on SCI Instance. */
  43. extern const uart_instance_t g_uart0;
  44. /** Access the UART instance using these structures when calling API functions directly (::p_api is not used). */
  45. extern sci_uart_instance_ctrl_t g_uart0_ctrl;
  46. extern const uart_cfg_t g_uart0_cfg;
  47. extern const sci_uart_extended_cfg_t g_uart0_cfg_extend;
  48. #ifndef user_uart0_callback
  49. void user_uart0_callback(uart_callback_args_t * p_args);
  50. #endif
  51. void hal_entry(void);
  52. void g_hal_init(void);
  53. FSP_FOOTER
  54. #endif /* HAL_DATA_H_ */