| /samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/mesh/ |
| A D | no_transition_work_handler.c | 47 if (ctl->light->target != ctl->light->current) { in no_transition_work_handler() 48 ctl->light->current = ctl->light->target; in no_transition_work_handler() 52 if (ctl->temp->target != ctl->temp->current) { in no_transition_work_handler() 53 ctl->temp->current = ctl->temp->target; in no_transition_work_handler() 57 if (ctl->duv->target != ctl->duv->current) { in no_transition_work_handler() 58 ctl->duv->current = ctl->duv->target; in no_transition_work_handler() 62 if (ctl->light->current) { in no_transition_work_handler() 63 ctl->light->last = ctl->light->current; in no_transition_work_handler()
|
| A D | transition.c | 185 if (ctl->light->current) { in level_move_lightness_work_handler() 201 ctl->light->current = light; in level_move_lightness_work_handler() 247 if (ctl->temp->current) { in level_move_temp_work_handler() 263 ctl->temp->current = temp; in level_move_temp_work_handler() 294 ctl->temp->current -= ctl->temp->delta; in level_temp_work_handler() 297 ctl->temp->current = ctl->temp->target; in level_temp_work_handler() 375 ctl->temp->current -= ctl->temp->delta; in light_ctl_work_handler() 377 ctl->duv->current -= ctl->duv->delta; in light_ctl_work_handler() 382 ctl->duv->current = ctl->duv->target; in light_ctl_work_handler() 408 ctl->duv->current -= ctl->duv->delta; in light_ctl_temp_work_handler() [all …]
|
| A D | device_composition.h | 31 int current; member 40 uint16_t current; member 55 uint16_t current; member 70 int16_t current; member
|
| /samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/ |
| A D | main.c | 63 ctl->temp->current = ctl->temp->def; in light_default_status_init() 64 ctl->duv->current = ctl->duv->def; in light_default_status_init() 68 ctl->light->current = 0U; in light_default_status_init() 72 ctl->light->current = ctl->light->last; in light_default_status_init() 74 ctl->light->current = ctl->light->def; in light_default_status_init() 78 ctl->light->current = ctl->light->target; in light_default_status_init() 79 ctl->temp->current = ctl->temp->target; in light_default_status_init() 80 ctl->duv->current = ctl->duv->target; in light_default_status_init() 84 ctl->light->target = ctl->light->current; in light_default_status_init() 85 ctl->temp->target = ctl->temp->current; in light_default_status_init() [all …]
|
| /samples/sensor/ina219/src/ |
| A D | main.c | 15 struct sensor_value v_bus, power, current; in main() local 32 sensor_channel_get(ina, SENSOR_CHAN_CURRENT, ¤t); in main() 39 sensor_value_to_double(¤t)); in main()
|
| /samples/drivers/uart/native_tty/boards/ |
| A D | native_sim.overlay | 5 current-speed = <115200>; 12 current-speed = <115200>;
|
| /samples/sensor/ina219/ |
| A D | sample.yaml | 8 name: TI INA219 power/current monitor 9 description: Demonstration of the INA219 I2C power/current monitor
|
| /samples/net/openthread/coprocessor/boards/ |
| A D | tlsr9518adk80d.overlay | 16 current-speed = <57600>; 23 current-speed = <115200>;
|
| /samples/subsys/zbus/remote_mock/boards/ |
| A D | hifive1_revb.overlay | 7 current-speed = <115200>;
|
| /samples/boards/st/uart/single_wire/boards/ |
| A D | nucleo_wba55cg.overlay | 10 current-speed = <115200>; 17 current-speed = <115200>;
|
| /samples/shields/npm13xx_ek/src/ |
| A D | main.c | 95 struct sensor_value current; in read_sensors() local 103 sensor_channel_get(charger, SENSOR_CHAN_GAUGE_AVG_CURRENT, ¤t); in read_sensors() 114 printk("I: %s%d.%04d ", ((current.val1 < 0) || (current.val2 < 0)) ? "-" : "", in read_sensors() 115 abs(current.val1), abs(current.val2) / 100); in read_sensors()
|
| /samples/bluetooth/hci_uart_3wire/boards/ |
| A D | bbc_microbit_v2.overlay | 5 current-speed = <1000000>;
|
| A D | nrf52840dk_nrf52840.overlay | 5 current-speed = <1000000>;
|
| A D | 96b_nitrogen.overlay | 5 current-speed = <1000000>;
|
| A D | nrf52_blenano2.overlay | 5 current-speed = <1000000>;
|
| A D | nrf52dk_nrf52832.overlay | 5 current-speed = <115200>;
|
| A D | nrf5340dk_nrf5340_cpuapp.overlay | 5 current-speed = <1000000>;
|
| A D | nrf5340dk_nrf5340_cpunet.overlay | 5 current-speed = <1000000>;
|
| A D | nrf5340pdk_nrf5340_cpuapp.overlay | 5 current-speed = <1000000>;
|
| /samples/drivers/uart/passthrough/boards/ |
| A D | nucleo_l476rg.overlay | 10 current-speed = <9600>;
|
| /samples/boards/raspberrypi/rpi_pico/uart_pio/boards/ |
| A D | rpi_pico.overlay | 33 current-speed = <115200>; 42 current-speed = <115200>;
|
| /samples/sensor/co2_polling/boards/ |
| A D | nucleo_h563zi.overlay | 9 current-speed = <9600>;
|
| /samples/bluetooth/hci_uart/boards/ |
| A D | nrf51_blenano.overlay | 5 current-speed = <1000000>;
|
| A D | nrf51dk_nrf51822.overlay | 5 current-speed = <1000000>;
|
| A D | nrf51dongle_nrf51822.overlay | 5 current-speed = <1000000>;
|