ChibiOS/RT Logo ChibiOS/RT

Architecture - Reference Manual - Guides

Functions

serial.c File Reference

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.

Detailed Description

Serial Driver code.

Definition in file serial.c.


Generated on Sun Oct 24 2010 09:40:38 for ChibiOS/RT by doxygen 1.7.1