Go to the documentation of this file.
27 #if (HAL_USE_SIO == TRUE) || defined(__DOXYGEN__)
40 #if (PLATFORM_SIO_USE_SIO1 == TRUE) || defined(__DOXYGEN__)
67 #if PLATFORM_SIO_USE_SIO1 == TRUE
87 #if PLATFORM_SIO_USE_SIO1 == TRUE
111 #if PLATFORM_SIO_USE_SIO1 == TRUE
112 if (&
SIOD1 == siop) {
void sio_lld_init(void)
Low level SIO driver initialization.
void sio_lld_put(SIODriver *siop, uint_fast16_t data)
Pushes one frame into the TX FIFO.
sio_events_mask_t sio_lld_get_and_clear_events(SIODriver *siop)
Return the pending SIO events flags.
msg_t sio_lld_control(SIODriver *siop, unsigned int operation, void *arg)
Control operation on a serial port.
void sioObjectInit(SIODriver *siop)
Initializes the standard part of a SIODriver structure.
void sio_lld_stop(SIODriver *siop)
Deactivates the SIO peripheral.
msg_t sio_lld_get(SIODriver *siop)
Returns one frame from the RX FIFO.
#define MSG_OK
Normal wakeup message.
siostate_t state
Driver state.
void sio_lld_start_operation(SIODriver *siop)
Starts a SIO operation.
size_t sio_lld_read(SIODriver *siop, uint8_t *buffer, size_t n)
Reads data from the RX FIFO.
Structure representing a SIO driver.
bool sio_lld_start(SIODriver *siop)
Configures and activates the SIO peripheral.
void sio_lld_stop_operation(SIODriver *siop)
Stops an ongoing SIO operation, if any.
size_t sio_lld_write(SIODriver *siop, const uint8_t *buffer, size_t n)
Writes data into the TX FIFO.
uint32_t sio_events_mask_t
Type of a SIO events mask.
SIODriver SIOD1
SIO1 driver identifier.