Outcome of lwir_state_control() or lwir_state_control_read(). More...
#include <lwir_state.h>

Data Fields | |
| struct lwir_state_value | reply |
| Status/transport detail of the last step reached. | |
| bool | submitted |
| bool | verified |
| See struct description; both false after early rejection. | |
| uint16_t | readback |
| Value read back; meaningful only once a read-back reply arrived. | |
Detailed Description
Outcome of lwir_state_control() or lwir_state_control_read().
submitted and verified are deliberately separate:
submittedis set just before the executing (trigger) write. Once true, the device may have applied the command even if the call failed, so callers must never replay automatically; read the setting back instead.verifiedis true only when an exact read-back matched (setters) or the read-back succeeded (control_read). FFC never sets it.
Definition at line 195 of file lwir_state.h.
Field Documentation
◆ readback
| uint16_t lwir_control_result::readback |
Value read back; meaningful only once a read-back reply arrived.
Definition at line 198 of file lwir_state.h.
◆ reply
| struct lwir_state_value lwir_control_result::reply |
Status/transport detail of the last step reached.
Definition at line 196 of file lwir_state.h.
◆ submitted
| bool lwir_control_result::submitted |
Definition at line 197 of file lwir_state.h.
◆ verified
| bool lwir_control_result::verified |
See struct description; both false after early rejection.
Definition at line 197 of file lwir_state.h.
The documentation for this struct was generated from the following file:
- modules/lwir_cam/lwir_state.h