Home
last modified time | relevance | path

Searched refs:current (Results 1 – 25 of 144) sorted by relevance

123456

/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/mesh/
A Dno_transition_work_handler.c47 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 Dtransition.c185 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 Ddevice_composition.h31 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 Dmain.c63 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 Dmain.c15 struct sensor_value v_bus, power, current; in main() local
32 sensor_channel_get(ina, SENSOR_CHAN_CURRENT, &current); in main()
39 sensor_value_to_double(&current)); in main()
/samples/drivers/uart/native_tty/boards/
A Dnative_sim.overlay5 current-speed = <115200>;
12 current-speed = <115200>;
/samples/sensor/ina219/
A Dsample.yaml8 name: TI INA219 power/current monitor
9 description: Demonstration of the INA219 I2C power/current monitor
/samples/net/openthread/coprocessor/boards/
A Dtlsr9518adk80d.overlay16 current-speed = <57600>;
23 current-speed = <115200>;
/samples/subsys/zbus/remote_mock/boards/
A Dhifive1_revb.overlay7 current-speed = <115200>;
/samples/boards/st/uart/single_wire/boards/
A Dnucleo_wba55cg.overlay10 current-speed = <115200>;
17 current-speed = <115200>;
/samples/shields/npm13xx_ek/src/
A Dmain.c95 struct sensor_value current; in read_sensors() local
103 sensor_channel_get(charger, SENSOR_CHAN_GAUGE_AVG_CURRENT, &current); 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 Dbbc_microbit_v2.overlay5 current-speed = <1000000>;
A Dnrf52840dk_nrf52840.overlay5 current-speed = <1000000>;
A D96b_nitrogen.overlay5 current-speed = <1000000>;
A Dnrf52_blenano2.overlay5 current-speed = <1000000>;
A Dnrf52dk_nrf52832.overlay5 current-speed = <115200>;
A Dnrf5340dk_nrf5340_cpuapp.overlay5 current-speed = <1000000>;
A Dnrf5340dk_nrf5340_cpunet.overlay5 current-speed = <1000000>;
A Dnrf5340pdk_nrf5340_cpuapp.overlay5 current-speed = <1000000>;
/samples/drivers/uart/passthrough/boards/
A Dnucleo_l476rg.overlay10 current-speed = <9600>;
/samples/boards/raspberrypi/rpi_pico/uart_pio/boards/
A Drpi_pico.overlay33 current-speed = <115200>;
42 current-speed = <115200>;
/samples/sensor/co2_polling/boards/
A Dnucleo_h563zi.overlay9 current-speed = <9600>;
/samples/bluetooth/hci_uart/boards/
A Dnrf51_blenano.overlay5 current-speed = <1000000>;
A Dnrf51dk_nrf51822.overlay5 current-speed = <1000000>;
A Dnrf51dongle_nrf51822.overlay5 current-speed = <1000000>;

Completed in 44 milliseconds

123456