20 #if defined( BSP_DK_LEDS )
76 if ((ledNo >= 0) && (ledNo < BSP_NO_OF_LEDS))
79 tmp &= ~( 1 << ledNo );
95 if ((ledNo >= 0) && (ledNo < BSP_NO_OF_LEDS))
115 if ((ledNo >= 0) && (ledNo < BSP_NO_OF_LEDS))
135 if ((ledNo >= 0) && (ledNo < BSP_NO_OF_LEDS))
Board support package API definitions.
int BSP_LedsInit(void)
Initialize LED drivers.
uint16_t BSP_RegisterRead(volatile uint16_t *addr)
Read from a board controller register.
int BSP_LedsSet(uint32_t leds)
Update all LED's.
int BSP_LedSet(int ledNo)
Turn on a single LED.
int BSP_LedToggle(int ledNo)
Toggle a single LED.
uint32_t BSP_LedsGet(void)
Get status of all LED's.
#define BSP_STATUS_ILLEGAL_PARAM
int BSP_RegisterWrite(volatile uint16_t *addr, uint16_t data)
Write to a board controller register.
int BSP_LedGet(int ledNo)
Get current status of a single LED.
int BSP_LedClear(int ledNo)
Turn off a single LED.