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_uart0; 12 13 /** Access the UART instance using these structures when calling API functions directly (::p_api is not used). */ 14 extern sci_uart_instance_ctrl_t g_uart0_ctrl; 15 extern const uart_cfg_t g_uart0_cfg; 16 extern const sci_uart_extended_cfg_t g_uart0_cfg_extend; 17 18 #ifndef user_uart0_callback 19 void user_uart0_callback(uart_callback_args_t * p_args); 20 #endif 21 22 #define FSP_NOT_DEFINED (1) 23 #if (FSP_NOT_DEFINED == FSP_NOT_DEFINED) 24 #define g_uart0_P_TRANSFER_TX (NULL) 25 #else 26 #define g_uart0_P_TRANSFER_TX (&FSP_NOT_DEFINED) 27 #endif 28 #if (FSP_NOT_DEFINED == FSP_NOT_DEFINED) 29 #define g_uart0_P_TRANSFER_RX (NULL) 30 #else 31 #define g_uart0_P_TRANSFER_RX (&FSP_NOT_DEFINED) 32 #endif 33 #undef FSP_NOT_DEFINED 34 void hal_entry(void); 35 void g_hal_init(void); 36 FSP_FOOTER 37 #endif /* HAL_DATA_H_ */ 38