ChibiOS/HAL 9.0.0
|
PLATFORM SIO subsystem low level driver header. More...
Go to the source code of this file.
Macros | |
#define | sio_lld_driver_fields uint32_t dummy; |
Low level fields of the SIO driver structure. | |
#define | sio_lld_config_fields uint32_t dummy; |
Low level fields of the SIO configuration structure. | |
#define | sio_lld_is_rx_empty(siop) |
Determines the state of the RX FIFO. | |
#define | sio_lld_is_rx_idle(siop) |
Determines the activity state of the receiver. | |
#define | sio_lld_has_rx_errors(siop) |
Determines if RX has pending error events to be read and cleared. | |
#define | sio_lld_is_tx_full(siop) |
Determines the state of the TX FIFO. | |
#define | sio_lld_is_tx_ongoing(siop) |
Determines the transmission state. | |
PLATFORM configuration options | |
#define | PLATFORM_SIO_USE_SIO1 FALSE |
SIO driver enable switch. |
Functions | |
void | sio_lld_init (void) |
Low level SIO driver initialization. | |
msg_t | sio_lld_start (SIODriver *siop) |
Configures and activates the SIO peripheral. | |
void | sio_lld_stop (SIODriver *siop) |
Deactivates the SIO peripheral. | |
void | sio_lld_update_enable_flags (SIODriver *siop) |
Enable flags change notification. | |
sioevents_t | sio_lld_get_and_clear_errors (SIODriver *siop) |
Get and clears SIO error event flags. | |
sioevents_t | sio_lld_get_and_clear_events (SIODriver *siop) |
Get and clears SIO event flags. | |
sioevents_t | sio_lld_get_events (SIODriver *siop) |
Returns the pending SIO event flags. | |
size_t | sio_lld_read (SIODriver *siop, uint8_t *buffer, size_t n) |
Reads data from the RX FIFO. | |
size_t | sio_lld_write (SIODriver *siop, const uint8_t *buffer, size_t n) |
Writes data into the TX FIFO. | |
msg_t | sio_lld_get (SIODriver *siop) |
Returns one frame from the RX FIFO. | |
void | sio_lld_put (SIODriver *siop, uint_fast16_t data) |
Pushes one frame into the TX FIFO. | |
msg_t | sio_lld_control (SIODriver *siop, unsigned int operation, void *arg) |
Control operation on a serial port. | |
void | sio_lld_serve_interrupt (SIODriver *siop) |
Serves an UART interrupt. |
PLATFORM SIO subsystem low level driver header.
Definition in file hal_sio_lld.h.