28 #if (HAL_USE_SIO == TRUE) || defined(__DOXYGEN__) 47 #if !defined(PLATFORM_SIO_USE_SIO1) || defined(__DOXYGEN__) 48 #define PLATFORM_SIO_USE_SIO1 FALSE 124 #if defined(SIO_DRIVER_EXT_FIELDS) 125 SIO_DRIVER_EXT_FIELDS
144 #define sio_lld_rx_is_empty(siop) true 156 #define sio_lld_tx_is_full(siop) true 167 #define sio_lld_rx_get(siop) 178 #define sio_lld_tx_put(siop, data) 184 #if (PLATFORM_SIO_USE_SIO1 == TRUE) && !defined(__DOXYGEN__) 194 size_t sio_lld_read(
SIODriver *siop,
void *buffer,
size_t size);
195 size_t sio_lld_write(
SIODriver *siop,
const void *buffer,
size_t size);
void sio_lld_init(void)
Low level SIO driver initialization.
Structure representing a SIO driver.
siostate_t
Driver state machine possible states.
const SIOConfig * config
Current configuration data.
void(* sioecb_t)(SIODriver *siop, sioflags_t e)
Receive error SIO notification callback type.
siocb_t txnf_cb
End of transmission buffer callback.
int32_t msg_t
Type of a message.
SIODriver SIOD1
SIO1 driver identifier.
siostate_t state
Driver state.
void sio_lld_stop(SIODriver *siop)
Deactivates the SIO peripheral.
void sio_lld_start(SIODriver *siop)
Configures and activates the SIO peripheral.
siocb_t rxne_cb
Receive buffer filled callback.
sioecb_t rxevt_cb
Receive event callback.
siocb_t txend_cb
Physical end of transmission callback.
msg_t sio_lld_control(SIODriver *siop, unsigned int operation, void *arg)
Control operation on a serial port.
void(* siocb_t)(SIODriver *siop)
Generic SIO notification callback type.
Driver configuration structure.
uint32_t sioflags_t
SIO driver condition flags type.