ChibiOS/RT Architecture - Reference Manual - Guides |
Serial Driver code. More...
#include "ch.h"
#include "hal.h"
Go to the source code of this file.
Functions | |
void | sdInit (void) |
Serial Driver initialization. | |
void | sdObjectInit (SerialDriver *sdp, qnotify_t inotify, qnotify_t onotify) |
Initializes a generic full duplex driver object. | |
void | 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. | |
void | sdAddFlagsI (SerialDriver *sdp, sdflags_t mask) |
Handles communication events/errors. | |
sdflags_t | sdGetAndClearFlags (SerialDriver *sdp) |
Returns and clears the errors mask associated to the driver. |
Serial Driver code.
Definition in file serial.c.