Searched refs:LEDNumber (Results 1 – 3 of 3) sorted by relevance
/lk-master/external/platform/lpc15xx/lpcopen/lpc_board_nxp_lpcxpresso_1549/src/ |
A D | board.c | 127 void Board_LED_Set(uint8_t LEDNumber, bool On) in Board_LED_Set() argument 129 if (LEDNumber < MAXLEDS) { in Board_LED_Set() 131 Chip_GPIO_SetPinState(LPC_GPIO, ledports[LEDNumber], ledpins[LEDNumber], !On); in Board_LED_Set() 136 bool Board_LED_Test(uint8_t LEDNumber) in Board_LED_Test() argument 140 if (LEDNumber < MAXLEDS) { in Board_LED_Test() 141 state = !Chip_GPIO_GetPinState(LPC_GPIO, ledports[LEDNumber], ledpins[LEDNumber]); in Board_LED_Test() 148 void Board_LED_Toggle(uint8_t LEDNumber) in Board_LED_Toggle() argument 150 Chip_GPIO_SetPinToggle(LPC_GPIO, ledports[LEDNumber], ledpins[LEDNumber]); in Board_LED_Toggle()
|
/lk-master/target/lpcexpresso1549/ |
A D | init.c | 151 void Board_LED_Set(uint8_t LEDNumber, bool On) { in Board_LED_Set() argument 152 if (LEDNumber < MAXLEDS) { in Board_LED_Set() 154 Chip_GPIO_SetPinState(LPC_GPIO, ledports[LEDNumber], ledpins[LEDNumber], !On); in Board_LED_Set() 159 bool Board_LED_Test(uint8_t LEDNumber) { in Board_LED_Test() argument 162 if (LEDNumber < MAXLEDS) { in Board_LED_Test() 163 state = !Chip_GPIO_GetPinState(LPC_GPIO, ledports[LEDNumber], ledpins[LEDNumber]); in Board_LED_Test() 170 void Board_LED_Toggle(uint8_t LEDNumber) { in Board_LED_Toggle() argument 171 Chip_GPIO_SetPinToggle(LPC_GPIO, ledports[LEDNumber], ledpins[LEDNumber]); in Board_LED_Toggle()
|
/lk-master/external/platform/lpc15xx/lpcopen/lpc_board_nxp_lpcxpresso_1549/inc/ |
A D | board_api.h | 122 void Board_LED_Set(uint8_t LEDNumber, bool State); 129 bool Board_LED_Test(uint8_t LEDNumber); 136 void Board_LED_Toggle(uint8_t LEDNumber);
|
Completed in 4 milliseconds