Reaction Wheel Actuated Satellite Dynamics Test Platform

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

MODSERIAL Internals

MODSERIAL Internals

Functions

int rxDiscardLastChar (void)
 Remove the last char placed into the rx buffer.

Variables

MODSERIAL_IRQ_INFO callbackInfo
 Used to pass information to callbacks.

Function Documentation

int rxDiscardLastChar ( void   ) [protected, inherited]

Remove the last char placed into the rx buffer.

This is an operation that can only be performed by an rxCallback function. To protect the buffers this function is defined protected so that a regular application cannot call it directly. It can only be called by the public version within a MODSERIAL_IRQ_INFO class.

Returns:
The byte removed from the buffer.

Definition at line 118 of file MODSERIAL.cpp.


Variable Documentation

MODSERIAL_IRQ_INFO callbackInfo [protected, inherited]

Used to pass information to callbacks.

Definition at line 790 of file MODSERIAL.h.