MODSERIAL with support for more devices. Added support for LPC4330

Dependents:   HC05_AT_mode GPS_U-blox_NEO-6M_Test_Code GPS_U-blox_NEO-6M_Code UbloxGPSWithThread ... more

Fork of MODSERIAL by Erik -

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 77 of file MODSERIAL.cpp.


Variable Documentation

MODSERIAL_IRQ_INFO callbackInfo [protected, inherited]

Used to pass information to callbacks.

Definition at line 804 of file MODSERIAL.h.