Partager via


OALLED (Compact 2013)

10/16/2014

This macro calls OEMWriteDebugLED to display debug information on debug board LEDs.

Syntax

#define OALLED(index, data)

Parameters

  • index
    [in] The index identifies a component of the OS. The OS reserves a range of indexes for its components.

    An OEM can use values from 0 to MAX_OEM_LEDINDEX.

    The index parameter is platform-specific and indicates where the LED is written.

    For example, a value of -1 might indicate that the data parameter should be written to a number of discrete LEDs, while any other index value indicates a register offset to an alphanumeric display.

  • data
    [in] The value being written to the LED register.

Return Value

None.

Remarks

This macro is deactivated if the SHIPBUILD constant is defined.

Requirements

Header

oal_log.h

See Also

Reference

Logging Macros