Go to the documentation of this file.
28 #if (HAL_USE_SIO == TRUE) || defined(__DOXYGEN__)
38 #define SIO_NO_ERROR 0
39 #define SIO_PARITY_ERROR 4
40 #define SIO_FRAMING_ERROR 8
41 #define SIO_OVERRUN_ERROR 16
42 #define SIO_NOISE_ERROR 32
43 #define SIO_BREAK_DETECTED 64
93 #define sioGetFlagsX(siop) sio_lld_get_flags(siop)
105 #define sioRXIsEmptyX(siop) sio_lld_rx_is_empty(siop)
117 #define sioTXIsFullX(siop) sio_lld_tx_is_full(siop)
128 #define sioRXGetX(siop) sio_lld_rx_get(siop)
139 #define sioTXPutX(siop, data) sio_lld_tx_put(siop, data)
155 #define sioReadX(siop, buffer, size) sio_lld_read(siop, buffer, size)
171 #define sioWriteX(siop, buffer, size) sio_lld_write(siop, buffer, size)
187 #define sioControlX(siop, operation, arg) sio_lld_control(siop, operation, arg)
void sioStop(SIODriver *siop)
Deactivates the SIO peripheral.
void sioObjectInit(SIODriver *siop)
Initializes the standard part of a SIODriver structure.
Driver configuration structure.
siostate_t
Driver state machine possible states.
void sioInit(void)
SIO Driver initialization.
PLATFORM SIO subsystem low level driver header.
Structure representing a SIO driver.
void sioStart(SIODriver *siop, const SIOConfig *config)
Configures and activates the SIO peripheral.