|
VSF Documented
|
Macros | |
| #define | LED_PORT MPS2_SCC->CFG_REG1 |
| #define | NUM_LEDS (8) /* Number of available LEDs */ |
Functions | |
| int32_t | LED_Initialize (void) |
| Initialize I/O interface for LEDs. | |
| int32_t | LED_Uninitialize (void) |
| De-initialize I/O interface for LEDs. | |
| int32_t | LED_On (uint32_t num) |
| Turn on a single LED indicated by num. | |
| int32_t | LED_Off (uint32_t num) |
| Turn off a single LED indicated by num. | |
| int32_t | LED_SetOut (uint32_t val) |
| Control all LEDs with the bit vector val. | |
| uint32_t | LED_GetCount (void) |
| Get number of available LEDs on evaluation hardware. | |
| #define LED_PORT MPS2_SCC->CFG_REG1 |
| #define NUM_LEDS (8) /* Number of available LEDs */ |
| int32_t LED_Initialize | ( | void | ) |
Initialize I/O interface for LEDs.
| int32_t LED_Uninitialize | ( | void | ) |
De-initialize I/O interface for LEDs.
Turn on a single LED indicated by num.
| [in] | num | LED number |
Turn off a single LED indicated by num.
| [in] | num | LED number |
Control all LEDs with the bit vector val.
| [in] | val | each bit represents the status of one LED. |
| uint32_t LED_GetCount | ( | void | ) |
Get number of available LEDs on evaluation hardware.