ChibiOS/HAL  7.0.3
hal_sio_lld.h File Reference

PLATFORM SIO subsystem low level driver header. More...

Go to the source code of this file.

Data Structures

struct  hal_sio_config
 Driver configuration structure. More...
 
struct  hal_sio_driver
 Structure representing a SIO driver. More...
 

Macros

#define sio_lld_rx_is_empty(siop)   true
 Determines the state of the RX FIFO. More...
 
#define sio_lld_tx_is_full(siop)   true
 Determines the state of the TX FIFO. More...
 
#define sio_lld_rx_get(siop)
 Returns one frame from the RX FIFO. More...
 
#define sio_lld_tx_put(siop, data)
 Pushes one frame into the TX FIFO. More...
 
PLATFORM configuration options
#define PLATFORM_SIO_USE_SIO1   FALSE
 SIO driver enable switch. More...
 

Typedefs

typedef uint32_t sioflags_t
 SIO driver condition flags type. More...
 
typedef void(* siocb_t) (SIODriver *siop)
 Generic SIO notification callback type. More...
 
typedef void(* sioecb_t) (SIODriver *siop, sioflags_t e)
 Receive error SIO notification callback type. More...
 

Functions

void sio_lld_init (void)
 Low level SIO driver initialization. More...
 
void sio_lld_start (SIODriver *siop)
 Configures and activates the SIO peripheral. More...
 
void sio_lld_stop (SIODriver *siop)
 Deactivates the SIO peripheral. More...
 
msg_t sio_lld_control (SIODriver *siop, unsigned int operation, void *arg)
 Control operation on a serial port. More...
 

Detailed Description

PLATFORM SIO subsystem low level driver header.

Definition in file hal_sio_lld.h.