Home
last modified time | relevance | path

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

/bsp/hc32/tests/
A Dtest_gpio.c30 #define LED1_PIN_NUM GET_PIN(D, 3) /* LED0 */ macro
33 #define LED1_PIN_NUM GET_PIN(B, 11) /* LED10 */ macro
36 #define LED1_PIN_NUM GET_PIN(A, 2) /* LED3 */ macro
39 #define LED1_PIN_NUM GET_PIN(C, 9) /* LED5 */ macro
42 #define LED1_PIN_NUM GET_PIN(C, 13) /* LED1 */ macro
53 rt_pin_write(LED1_PIN_NUM, PIN_LOW); in led_control()
57 rt_pin_write(LED1_PIN_NUM, PIN_HIGH); in led_control()
64 rt_pin_mode(LED1_PIN_NUM, PIN_MODE_OUTPUT); in pin_sample()
66 rt_pin_write(LED1_PIN_NUM, PIN_HIGH); in pin_sample()

Completed in 3 milliseconds