Searched refs:duv (Results 1 – 7 of 7) sorted by relevance
/Zephyr-Core-3.7.0/samples/boards/nrf/mesh/onoff_level_lighting_vnd_app/src/ |
D | main.c | 37 ctl->duv->def = DELTA_UV_DEF; in light_default_var_init() 38 ctl->duv->target = ctl->duv->def; in light_default_var_init() 64 ctl->duv->current = ctl->duv->def; in light_default_status_init() 80 ctl->duv->current = ctl->duv->target; in light_default_status_init() 86 ctl->duv->target = ctl->duv->current; in light_default_status_init()
|
D | storage.c | 38 settings_save_one("ps/dd", &ctl->duv->def, sizeof(ctl->duv->def)); in save_def_states() 56 settings_save_one("ps/dlt", &ctl->duv->target, in save_last_target_states() 57 sizeof(ctl->duv->target)); in save_last_target_states() 150 len = read_cb(cb_arg, &ctl->duv->def, in ps_set() 151 sizeof(ctl->duv->def)); in ps_set() 170 len = read_cb(cb_arg, &ctl->duv->target, in ps_set() 171 sizeof(ctl->duv->target)); in ps_set()
|
/Zephyr-Core-3.7.0/samples/boards/nrf/mesh/onoff_level_lighting_vnd_app/src/mesh/ |
D | no_transition_work_handler.c | 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()
|
D | transition.c | 131 ctl->duv->delta = in set_transition_values() 132 ((float) (ctl->duv->current - ctl->duv->target) / in set_transition_values() 145 ctl->duv->delta = in set_transition_values() 146 ((float) (ctl->duv->current - ctl->duv->target) / in set_transition_values() 379 ctl->duv->current -= ctl->duv->delta; in light_ctl_work_handler() 384 ctl->duv->current = ctl->duv->target; in light_ctl_work_handler() 410 ctl->duv->current -= ctl->duv->delta; in light_ctl_temp_work_handler() 414 ctl->duv->current = ctl->duv->target; in light_ctl_temp_work_handler()
|
D | state_binding.c | 163 ctl->duv->target = *((int16_t *) dptr); in set_target() 200 return ctl->duv->current; in get_current() 228 return ctl->duv->target; in get_target()
|
D | device_composition.c | 49 struct delta_uv duv; variable 54 .duv = &duv, 1828 ctl->duv->target != ctl->duv->current) { in light_ctl_set_unack() 1838 ctl->duv->current = ctl->duv->target; in light_ctl_set_unack() 1908 ctl->duv->target != ctl->duv->current) { in light_ctl_set() 1919 ctl->duv->current = ctl->duv->target; in light_ctl_set() 1959 net_buf_simple_add_le16(msg, ctl->duv->def); in light_ctl_default_get() 1982 net_buf_simple_add_le16(msg, ctl->duv->def); in light_ctl_default_publish() 2009 ctl->duv->def != delta_uv) { in light_ctl_default_set_unack() 2012 ctl->duv->def = delta_uv; in light_ctl_default_set_unack() [all …]
|
D | device_composition.h | 81 struct delta_uv *duv; member
|