Searched refs:fm3_gpio_ctrl (Results 1 – 1 of 1) sorted by relevance
16 struct fm3_gpio_ctrl struct28 struct fm3_gpio_ctrl fm3_gpio_ctrl[LED_NUM]; argument43 fm3_led.fm3_gpio_ctrl[i].led_num = 4; in rt_led_init()44 fm3_led.fm3_gpio_ctrl[i].PDOR = &FM3_GPIO->PDOR5; in rt_led_init()45 fm3_led.fm3_gpio_ctrl[i].PDIR = &FM3_GPIO->PDIR5; in rt_led_init()49 fm3_led.fm3_gpio_ctrl[i].led_num = 5; in rt_led_init()55 fm3_led.fm3_gpio_ctrl[i].led_num = 6; in rt_led_init()61 fm3_led.fm3_gpio_ctrl[i].led_num = 7; in rt_led_init()90 if(*fm3_led.fm3_gpio_ctrl[pos+index].PDIR & 1<<fm3_led.fm3_gpio_ctrl[pos+index].led_num) in rt_led_read()117 … *fm3_led.fm3_gpio_ctrl[pos+index].PDOR &= ~(1<<fm3_led.fm3_gpio_ctrl[pos+index].led_num); in rt_led_write()[all …]
Completed in 4 milliseconds