Home
last modified time | relevance | path

Searched refs:Set_led (Results 1 – 2 of 2) sorted by relevance

/bsp/nxp/lpc/lpc5410x/drivers/
A Ddrv_led.c140 void Led_Control(rt_uint32_t Set_led, rt_uint32_t value) in Led_Control() argument
142 if ( Set_led == 0 ) in Led_Control()
149 LPC_GPIO->B[0][led.ctrl[Set_led].num] = 1UL; in Led_Control()
153 LPC_GPIO->B[0][led.ctrl[Set_led].num] = 0UL; in Led_Control()
160 if ( Set_led == 1 ) in Led_Control()
167 LPC_GPIO->B[0][led.ctrl[Set_led].num] = 1UL; in Led_Control()
171 LPC_GPIO->B[0][led.ctrl[Set_led].num] = 0UL; in Led_Control()
177 if ( Set_led == 2 ) in Led_Control()
184 LPC_GPIO->B[0][led.ctrl[Set_led].num] = 1UL; in Led_Control()
188 LPC_GPIO->B[0][led.ctrl[Set_led].num] = 0UL; in Led_Control()
A Ddrv_led.h14 void Led_Control(rt_uint32_t Set_led, rt_uint32_t value);

Completed in 5 milliseconds