OEMReadDebugByte (Compact 2013)

10/16/2014

This function retrieves a byte from the debug monitor port.

Syntax

int OEMReadDebugByte (void); 

Parameters

None.

Return Value

Returns the data byte if available, OEM_DEBUG_COM_ERROR if an error is detected, or OEM_DEBUG_READ_NODATA if no data is available at the port.

Requirements

Header

nkintr.h

Library

OEMMain.lib or OEMMain_StaticKITL.lib

See Also

Reference

Boot Loader Debug Functions
OEMWriteDebugByte
OEMInitDebugSerial
OEMWriteDebugString