Internal structure to hold state and timing information. More...
#include <app_light_ctl.h>
Data Fields | |
| uint32_t | present_temperature32 |
| Present value of the temperature32 state. More... | |
| int16_t | present_delta_uv |
| Present value of the delta uv state. More... | |
| uint32_t | target_temperature32 |
| Target value of the temperature32 state, as received from the model interface. More... | |
| int16_t | target_delta_uv |
| Target value of the delta_uv state, as received from the model interface. More... | |
| uint32_t | initial_present_temperature32 |
| Initial present temperature32 required for handling Set/Delta Set message. More... | |
| int16_t | initial_present_delta_uv |
| Initial present delta_uv required for handling Set/Delta Set message. More... | |
| uint32_t | init_present_temp32_snapshot |
| Present temperature32 value when message was received. | |
| uint32_t | target_temp32_snapshot |
| Requested target temperature32. | |
| int16_t | init_present_duv_snapshot |
| Present DUV value when message was received. | |
| int16_t | target_duv_snapshot |
| Requested target DUV. | |
| bool | new_tid |
| To detect if TID is new while processing delta transition. | |
| uint32_t | published_ms |
| app_transition_t | transition |
| Structure for using transition module functionality. More... | |
Detailed Description
Internal structure to hold state and timing information.
- Note
- The present Light CTL state is available from a callback.
Definition at line 134 of file app_light_ctl.h.
Field Documentation
◆ present_temperature32
| uint32_t app_light_ctl_state_t::present_temperature32 |
Present value of the temperature32 state.
Definition at line 137 of file app_light_ctl.h.
◆ present_delta_uv
| int16_t app_light_ctl_state_t::present_delta_uv |
Present value of the delta uv state.
Definition at line 139 of file app_light_ctl.h.
◆ target_temperature32
| uint32_t app_light_ctl_state_t::target_temperature32 |
Target value of the temperature32 state, as received from the model interface.
Definition at line 142 of file app_light_ctl.h.
◆ target_delta_uv
| int16_t app_light_ctl_state_t::target_delta_uv |
Target value of the delta_uv state, as received from the model interface.
Definition at line 144 of file app_light_ctl.h.
◆ initial_present_temperature32
| uint32_t app_light_ctl_state_t::initial_present_temperature32 |
Initial present temperature32 required for handling Set/Delta Set message.
Definition at line 147 of file app_light_ctl.h.
◆ initial_present_delta_uv
| int16_t app_light_ctl_state_t::initial_present_delta_uv |
Initial present delta_uv required for handling Set/Delta Set message.
Definition at line 149 of file app_light_ctl.h.
◆ transition
| app_transition_t app_light_ctl_state_t::transition |
Structure for using transition module functionality.
Definition at line 167 of file app_light_ctl.h.
- examples/common/include/app_light_ctl.h