ChibiOS/HAL 9.0.0
hal_buffered_sio.c File Reference

Buffered SIO Driver code. More...

#include "hal.h"
#include "hal_buffered_sio.h"

Go to the source code of this file.

Functions

static void __bsio_push_data (BufferedSIODriver *bsiop)
static void __bsio_pop_data (BufferedSIODriver *bsiop)
static void __bsio_default_cb (SIODriver *siop)
static void __bsio_onotify (io_queue_t *qp)
static size_t __bsio_write (void *ip, const uint8_t *bp, size_t n)
static size_t __bsio_read (void *ip, uint8_t *bp, size_t n)
static msg_t __bsio_put (void *ip, uint8_t b)
static msg_t __bsio_get (void *ip)
static msg_t __bsio_putt (void *ip, uint8_t b, sysinterval_t timeout)
static msg_t __bsio_gett (void *ip, sysinterval_t timeout)
static size_t __bsio_writet (void *ip, const uint8_t *bp, size_t n, sysinterval_t timeout)
static size_t __bsio_readt (void *ip, uint8_t *bp, size_t n, sysinterval_t timeout)
static msg_t __bsio_ctl (void *ip, unsigned int operation, void *arg)
void bsioObjectInit (BufferedSIODriver *bsiop, SIODriver *siop, uint8_t *ib, size_t ibsize, uint8_t *ob, size_t obsize)
 Initializes a generic serial driver object.
msg_t bsioStart (BufferedSIODriver *bsiop, const BufferedSIOConfig *config)
 Configures and starts the driver.
void bsioStop (BufferedSIODriver *bsiop)
 Stops the driver.

Variables

static const struct BufferedSIODriverVMT vmt

Detailed Description

Buffered SIO Driver code.

Definition in file hal_buffered_sio.c.