ChibiOS/HAL
6.1.0
|
Data streams. More...
Go to the source code of this file.
Data Structures | |
struct | BaseSequentialStreamVMT |
BaseSequentialStream virtual methods table. More... | |
struct | BaseSequentialStream |
Base stream class. More... | |
Macros | |
#define | _base_sequential_stream_methods |
BaseSequentialStream specific methods. More... | |
#define | _base_sequential_stream_data _base_object_data |
BaseSequentialStream specific data. More... | |
Streams return codes | |
#define | STM_OK MSG_OK |
#define | STM_TIMEOUT MSG_TIMEOUT |
#define | STM_RESET MSG_RESET |
Macro Functions (BaseSequentialStream) | |
#define | streamWrite(ip, bp, n) ((ip)->vmt->write(ip, bp, n)) |
Sequential Stream write. More... | |
#define | streamRead(ip, bp, n) ((ip)->vmt->read(ip, bp, n)) |
Sequential Stream read. More... | |
#define | streamPut(ip, b) ((ip)->vmt->put(ip, b)) |
Sequential Stream blocking byte write. More... | |
#define | streamGet(ip) ((ip)->vmt->get(ip)) |
Sequential Stream blocking byte read. More... | |
Data streams.
This header defines abstract interfaces useful to access generic data streams in a standardized way.
Definition in file hal_streams.h.