|
ChibiOS 21.11.4
|
Serial Driver code. More...
#include "hal.h"Go to the source code of this file.
Functions | |
| static size_t | _write (void *ip, const uint8_t *bp, size_t n) |
| static size_t | _read (void *ip, uint8_t *bp, size_t n) |
| static msg_t | _put (void *ip, uint8_t b) |
| static msg_t | _get (void *ip) |
| static msg_t | _putt (void *ip, uint8_t b, sysinterval_t timeout) |
| static msg_t | _gett (void *ip, sysinterval_t timeout) |
| static size_t | _writet (void *ip, const uint8_t *bp, size_t n, sysinterval_t timeout) |
| static size_t | _readt (void *ip, uint8_t *bp, size_t n, sysinterval_t timeout) |
| static msg_t | _ctl (void *ip, unsigned int operation, void *arg) |
| void | sdInit (void) |
| Serial Driver initialization. | |
| void | sdObjectInit (SerialDriver *sdp, qnotify_t inotify, qnotify_t onotify) |
| Initializes a generic serial driver object. | |
| msg_t | sdStart (SerialDriver *sdp, const SerialConfig *config) |
| Configures and starts the driver. | |
| void | sdStop (SerialDriver *sdp) |
| Stops the driver. | |
| void | sdIncomingDataI (SerialDriver *sdp, uint8_t b) |
| Handles incoming data. | |
| msg_t | sdRequestDataI (SerialDriver *sdp) |
| Handles outgoing data. | |
| bool | sdPutWouldBlock (SerialDriver *sdp) |
Direct output check on a SerialDriver. | |
| bool | sdGetWouldBlock (SerialDriver *sdp) |
Direct input check on a SerialDriver. | |
| msg_t | sdControl (SerialDriver *sdp, unsigned int operation, void *arg) |
| Control operation on a serial port. | |
Variables | |
| static const struct SerialDriverVMT | vmt |
Serial Driver code.
Definition in file hal_serial.c.