ChibiOS  21.6.0
hal_sio_lld.c File Reference

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

#include "hal.h"

Go to the source code of this file.

Functions

void sio_lld_init (void)
 Low level SIO driver initialization. More...
 
bool sio_lld_start (SIODriver *siop)
 Configures and activates the SIO peripheral. More...
 
void sio_lld_stop (SIODriver *siop)
 Deactivates the SIO peripheral. More...
 
void sio_lld_start_operation (SIODriver *siop)
 Starts a SIO operation. More...
 
void sio_lld_stop_operation (SIODriver *siop)
 Stops an ongoing SIO operation, if any. More...
 
sio_events_mask_t sio_lld_get_and_clear_events (SIODriver *siop)
 Return the pending SIO events flags. More...
 
size_t sio_lld_read (SIODriver *siop, uint8_t *buffer, size_t n)
 Reads data from the RX FIFO. More...
 
size_t sio_lld_write (SIODriver *siop, const uint8_t *buffer, size_t n)
 Writes data into the TX FIFO. More...
 
msg_t sio_lld_get (SIODriver *siop)
 Returns one frame from the RX FIFO. More...
 
void sio_lld_put (SIODriver *siop, uint_fast16_t data)
 Pushes one frame into the TX FIFO. More...
 
msg_t sio_lld_control (SIODriver *siop, unsigned int operation, void *arg)
 Control operation on a serial port. More...
 

Variables

SIODriver SIOD1
 SIO1 driver identifier. More...
 

Detailed Description

PLATFORM SIO subsystem low level driver source.

Definition in file hal_sio_lld.c.