ChibiOS/HAL 9.0.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.
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.

Variables

SIODriver SIOD1
 SIO1 driver identifier.

Detailed Description

PLATFORM SIO subsystem low level driver source.

Definition in file hal_sio_lld.c.