|
ChibiOS 21.11.4
|
Buffered SIO Driver macros and structures. More...
#include "hal.h"Go to the source code of this file.
Data Structures | |
| struct | BufferedSIODriverVMT |
BufferedSIODriver virtual methods table. More... | |
| struct | hal_buffered_siol_driver |
| Buffered SIO driver class. More... | |
Macros | |
| #define | __buffered_sio_driver_methods __buffered_serial_methods |
BufferedSIODriver specific methods. | |
| #define | __buffered_sio_driver_data |
SerialDriver specific data. | |
Macro Functions | |
| #define | bsioPutI(bsiop, b) |
Direct write to a BufferedSIODriver. | |
| #define | bsioPut(bsiop, b) |
Direct write to a BufferedSIODriver. | |
| #define | bsioPutTimeout(bsiop, b, t) |
Direct write to a BufferedSIODriver with timeout specification. | |
| #define | bsioGetI(bsiop) |
Direct read from a BufferedSIODriver. | |
| #define | bsioGet(bsiop) |
Direct read from a BufferedSIODriver. | |
| #define | bsioGetTimeout(bsiop, t) |
Direct read from a BufferedSIODriver with timeout specification. | |
| #define | bsioWriteI(bsiop, b, n) |
Direct blocking write to a BufferedSIODriver. | |
| #define | bsioWrite(bsiop, b, n) |
Direct blocking write to a BufferedSIODriver. | |
| #define | bsioWriteTimeout(bsiop, b, n, t) |
Direct blocking write to a BufferedSIODriver with timeout specification. | |
| #define | bsioAsynchronousWrite(bsiop, b, n) |
Direct non-blocking write to a BufferedSIODriver. | |
| #define | bsioReadI(bsiop, b, n) |
Direct blocking read from a BufferedSIODriver. | |
| #define | bsioRead(bsiop, b, n) |
Direct blocking read from a BufferedSIODriver. | |
| #define | bsioReadTimeout(bsiop, b, n, t) |
Direct blocking read from a BufferedSIODriver with timeout specification. | |
| #define | bsioAsynchronousRead(bsiop, b, n) |
Direct non-blocking read from a BufferedSIODriver. | |
Typedefs | |
| typedef struct hal_buffered_siol_driver | BufferedSIODriver |
| Buffered SIO driver class. | |
| typedef SIOConfig | BufferedSIOConfig |
| Type of a buffered SIO configuration. | |
Functions | |
| 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. | |
Buffered SIO Driver macros and structures.
Definition in file hal_buffered_sio.h.