25 #ifndef HAL_SERIAL_LLD_H 26 #define HAL_SERIAL_LLD_H 28 #if (HAL_USE_SERIAL == TRUE) || defined(__DOXYGEN__) 47 #if !defined(PLATFORM_SERIAL_USE_USART1) || defined(__DOXYGEN__) 48 #define PLATFORM_SERIAL_USE_USART1 FALSE 79 #define _serial_driver_data \ 80 _base_asynchronous_channel_data \ 84 input_queue_t iqueue; \ 86 output_queue_t oqueue; \ 88 uint8_t ib[SERIAL_BUFFERS_SIZE]; \ 90 uint8_t ob[SERIAL_BUFFERS_SIZE]; \ 101 #if (PLATFORM_SERIAL_USE_USART1 == TRUE) && !defined(__DOXYGEN__)
SerialDriver SD1
USART1 serial driver identifier.
void sd_lld_init(void)
Low level serial driver initialization.
void sd_lld_start(SerialDriver *sdp, const SerialConfig *config)
Low level serial driver configuration and (re)start.
Full duplex serial driver class.
void sd_lld_stop(SerialDriver *sdp)
Low level serial driver stop.
PLATFORM Serial Driver configuration structure.