hal_data.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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_xspi_hyper.h"
  8. #include "r_hyperbus_api.h"
  9. #include "r_xspi_qspi.h"
  10. #include "r_spi_flash_api.h"
  11. #include "r_sci_uart.h"
  12. #include "r_uart_api.h"
  13. FSP_HEADER
  14. extern const hyperbus_instance_t g_hyperbus0;
  15. extern xspi_hyper_instance_ctrl_t g_hyperbus0_ctrl;
  16. extern const hyperbus_cfg_t g_hyperbus0_cfg;
  17. extern const spi_flash_instance_t g_qspi0;
  18. extern xspi_qspi_instance_ctrl_t g_qspi0_ctrl;
  19. extern const spi_flash_cfg_t g_qspi0_cfg;
  20. /** UART on SCI Instance. */
  21. extern const uart_instance_t g_uart0;
  22. /** Access the UART instance using these structures when calling API functions directly (::p_api is not used). */
  23. extern sci_uart_instance_ctrl_t g_uart0_ctrl;
  24. extern const uart_cfg_t g_uart0_cfg;
  25. extern const sci_uart_extended_cfg_t g_uart0_cfg_extend;
  26. #ifndef user_uart0_callback
  27. void user_uart0_callback(uart_callback_args_t * p_args);
  28. #endif
  29. #define FSP_NOT_DEFINED (1)
  30. #if (FSP_NOT_DEFINED == FSP_NOT_DEFINED)
  31. #define g_uart0_P_TRANSFER_TX (NULL)
  32. #else
  33. #define g_uart0_P_TRANSFER_TX (&FSP_NOT_DEFINED)
  34. #endif
  35. #if (FSP_NOT_DEFINED == FSP_NOT_DEFINED)
  36. #define g_uart0_P_TRANSFER_RX (NULL)
  37. #else
  38. #define g_uart0_P_TRANSFER_RX (&FSP_NOT_DEFINED)
  39. #endif
  40. #undef FSP_NOT_DEFINED
  41. void hal_entry(void);
  42. void g_hal_init(void);
  43. FSP_FOOTER
  44. #endif /* HAL_DATA_H_ */