Searched refs:led_is_on (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/samples/boards/st/power_mgmt/blinky/src/ |
D | main.c | 25 bool led_is_on = true; in main() local 33 gpio_pin_set(led.port, led.pin, (int)led_is_on); in main() 34 if (led_is_on == false) { in main() 39 if (led_is_on == true) { in main() 43 led_is_on = !led_is_on; in main()
|
/Zephyr-latest/samples/boards/st/power_mgmt/stop3/src/ |
D | main.c | 22 bool led_is_on = true; in main() local 42 gpio_pin_set(led.port, led.pin, (int)led_is_on); in main() 46 if (led_is_on) { in main() 55 led_is_on = !led_is_on; in main()
|
/Zephyr-latest/samples/boards/st/h7_dual_core/src/ |
D | main.c | 17 bool led_is_on; member 30 gpio_pin_set(ipm_data->led->port, ipm_data->led->pin, (int)ipm_data->led_is_on); in new_message_callback() 32 ipm_data->led_is_on = !ipm_data->led_is_on; in new_message_callback() 54 data.led_is_on = false; in main()
|
/Zephyr-latest/samples/boards/st/power_mgmt/standby_shutdown/src/ |
D | main.c | 33 static int led_is_on; variable 70 if (led_is_on == false) { in thread_poweroff_standby_mode() 145 led_is_on = true; in main() 148 gpio_pin_set(led.port, led.pin, (int)led_is_on); in main() 150 led_is_on = !led_is_on; in main()
|
/Zephyr-latest/samples/bluetooth/peripheral_hr/src/ |
D | main.c | 133 static bool led_is_on; variable 137 led_is_on = !led_is_on; in blink_timeout() 138 gpio_pin_set(led.port, led.pin, (int)led_is_on); in blink_timeout() 170 led_is_on = false; in blink_start() 171 gpio_pin_set(led.port, led.pin, (int)led_is_on); in blink_start() 183 led_is_on = true; in blink_stop() 184 gpio_pin_set(led.port, led.pin, (int)led_is_on); in blink_stop()
|
/Zephyr-latest/samples/bluetooth/periodic_sync/src/ |
D | main.c | 35 static bool led_is_on; variable 39 led_is_on = !led_is_on; in blink_timeout() 40 gpio_pin_set(led.port, led.pin, (int)led_is_on); in blink_timeout() 235 led_is_on = false; in main() 236 gpio_pin_set(led.port, led.pin, (int)led_is_on); in main() 282 led_is_on = true; in main() 283 gpio_pin_set(led.port, led.pin, (int)led_is_on); in main()
|
/Zephyr-latest/samples/bluetooth/iso_receive/src/ |
D | main.c | 50 static bool led_is_on; variable 59 led_is_on = !led_is_on; in blink_timeout() 60 gpio_pin_set_dt(&led_gpio, (int)led_is_on); in blink_timeout() 353 led_is_on = false; in main() 355 gpio_pin_set_dt(&led_gpio, (int)led_is_on); in main() 467 led_is_on = true; in main() 468 gpio_pin_set_dt(&led_gpio, (int)led_is_on); in main()
|