example_cargo_reg_protocol.h
Go to the documentation of this file.
1 // Copyright (c) Acconeer AB, 2025
2 // All rights reserved
3
4 #ifndef EXAMPLE_CARGO_REG_PROTOCOL_H_
5 #define EXAMPLE_CARGO_REG_PROTOCOL_H_
6
7 #include <stdbool.h>
8 #include <stdint.h>
9
10 // The number of registers in the application
11 #define EXAMPLE_CARGO_REG_REGISTER_COUNT 24U
12
13 // The register address defines
14 #define EXAMPLE_CARGO_REG_VERSION_ADDRESS 0U
15 #define EXAMPLE_CARGO_REG_PROTOCOL_STATUS_ADDRESS 1U
16 #define EXAMPLE_CARGO_REG_MEASURE_COUNTER_ADDRESS 2U
17 #define EXAMPLE_CARGO_REG_ACTUAL_PRESENCE_UPDATE_RATE_ADDRESS 3U
18 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_ADDRESS 4U
19 #define EXAMPLE_CARGO_REG_CONTAINER_SIZE_ADDRESS 16U
20 #define EXAMPLE_CARGO_REG_ACTIVATE_UTILIZATION_LEVEL_ADDRESS 17U
21 #define EXAMPLE_CARGO_REG_UTILIZATION_SIGNAL_QUALITY_ADDRESS 18U
22 #define EXAMPLE_CARGO_REG_UTILIZATION_THRESHOLD_SENSITIVITY_ADDRESS 19U
23 #define EXAMPLE_CARGO_REG_ACTIVATE_PRESENCE_ADDRESS 20U
24 #define EXAMPLE_CARGO_REG_PRESENCE_UPDATE_RATE_ADDRESS 21U
25 #define EXAMPLE_CARGO_REG_PRESENCE_SWEEPS_PER_FRAME_ADDRESS 22U
26 #define EXAMPLE_CARGO_REG_PRESENCE_SIGNAL_QUALITY_ADDRESS 23U
27 #define EXAMPLE_CARGO_REG_PRESENCE_INTER_DETECTION_THRESHOLD_ADDRESS 24U
28 #define EXAMPLE_CARGO_REG_PRESENCE_INTRA_DETECTION_THRESHOLD_ADDRESS 25U
29 #define EXAMPLE_CARGO_REG_RESULT_HEADER_ADDRESS 32U
30 #define EXAMPLE_CARGO_REG_UTILIZATION_DISTANCE_ADDRESS 33U
31 #define EXAMPLE_CARGO_REG_UTILIZATION_LEVEL_MM_ADDRESS 34U
32 #define EXAMPLE_CARGO_REG_UTILIZATION_LEVEL_PERCENT_ADDRESS 35U
33 #define EXAMPLE_CARGO_REG_PRESENCE_DETECTED_ADDRESS 36U
34 #define EXAMPLE_CARGO_REG_MAX_INTER_PRESENCE_SCORE_ADDRESS 37U
35 #define EXAMPLE_CARGO_REG_MAX_INTRA_PRESENCE_SCORE_ADDRESS 38U
36 #define EXAMPLE_CARGO_REG_COMMAND_ADDRESS 48U
37 #define EXAMPLE_CARGO_REG_APPLICATION_ID_ADDRESS 65535U
38
39 // The defines for version fields (masks ans bit-positions)
40 #define EXAMPLE_CARGO_REG_VERSION_FIELD_MAJOR_POS 16U
41 #define EXAMPLE_CARGO_REG_VERSION_FIELD_MAJOR_MASK 0xffff0000
42 #define EXAMPLE_CARGO_REG_VERSION_FIELD_MINOR_POS 8U
43 #define EXAMPLE_CARGO_REG_VERSION_FIELD_MINOR_MASK 0x0000ff00
44 #define EXAMPLE_CARGO_REG_VERSION_FIELD_PATCH_POS 0U
45 #define EXAMPLE_CARGO_REG_VERSION_FIELD_PATCH_MASK 0x000000ff
46
47 // The defines for protocol_status fields (masks ans bit-positions)
48 #define EXAMPLE_CARGO_REG_PROTOCOL_STATUS_FIELD_PROTOCOL_STATE_ERROR_POS 0U
49 #define EXAMPLE_CARGO_REG_PROTOCOL_STATUS_FIELD_PROTOCOL_STATE_ERROR_MASK 0x00000001
50 #define EXAMPLE_CARGO_REG_PROTOCOL_STATUS_FIELD_PACKET_LENGTH_ERROR_POS 1U
51 #define EXAMPLE_CARGO_REG_PROTOCOL_STATUS_FIELD_PACKET_LENGTH_ERROR_MASK 0x00000002
52 #define EXAMPLE_CARGO_REG_PROTOCOL_STATUS_FIELD_ADDRESS_ERROR_POS 2U
53 #define EXAMPLE_CARGO_REG_PROTOCOL_STATUS_FIELD_ADDRESS_ERROR_MASK 0x00000004
54 #define EXAMPLE_CARGO_REG_PROTOCOL_STATUS_FIELD_WRITE_FAILED_POS 3U
55 #define EXAMPLE_CARGO_REG_PROTOCOL_STATUS_FIELD_WRITE_FAILED_MASK 0x00000008
56 #define EXAMPLE_CARGO_REG_PROTOCOL_STATUS_FIELD_WRITE_TO_READ_ONLY_POS 4U
57 #define EXAMPLE_CARGO_REG_PROTOCOL_STATUS_FIELD_WRITE_TO_READ_ONLY_MASK 0x00000010
58
59 // The defines for application_status fields (masks ans bit-positions)
60 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_RSS_REGISTER_OK_POS 0U
61 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_RSS_REGISTER_OK_MASK 0x00000001
62 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_SENSOR_CREATE_OK_POS 1U
63 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_SENSOR_CREATE_OK_MASK 0x00000002
64 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_SENSOR_CALIBRATE_OK_POS 2U
65 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_SENSOR_CALIBRATE_OK_MASK 0x00000004
66 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_CARGO_CREATE_OK_POS 3U
67 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_CARGO_CREATE_OK_MASK 0x00000008
68 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_CARGO_CALIBRATE_OK_POS 4U
69 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_CARGO_CALIBRATE_OK_MASK 0x00000010
70 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_SENSOR_BUFFER_OK_POS 5U
71 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_SENSOR_BUFFER_OK_MASK 0x00000020
72 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_CARGO_BUFFER_OK_POS 6U
73 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_CARGO_BUFFER_OK_MASK 0x00000040
74 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_CONFIG_APPLY_OK_POS 7U
75 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_CONFIG_APPLY_OK_MASK 0x00000080
76 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_RSS_REGISTER_ERROR_POS 8U
77 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_RSS_REGISTER_ERROR_MASK 0x00000100
78 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_SENSOR_CREATE_ERROR_POS 10U
79 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_SENSOR_CREATE_ERROR_MASK 0x00000400
80 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_SENSOR_CALIBRATE_ERROR_POS 11U
81 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_SENSOR_CALIBRATE_ERROR_MASK 0x00000800
82 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_CARGO_CREATE_ERROR_POS 12U
83 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_CARGO_CREATE_ERROR_MASK 0x00001000
84 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_CARGO_CALIBRATE_ERROR_POS 13U
85 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_CARGO_CALIBRATE_ERROR_MASK 0x00002000
86 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_SENSOR_BUFFER_ERROR_POS 14U
87 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_SENSOR_BUFFER_ERROR_MASK 0x00004000
88 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_CARGO_BUFFER_ERROR_POS 15U
89 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_CARGO_BUFFER_ERROR_MASK 0x00008000
90 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_CONFIG_APPLY_ERROR_POS 16U
91 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_CONFIG_APPLY_ERROR_MASK 0x00010000
92 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_APPLICATION_ERROR_POS 17U
93 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_APPLICATION_ERROR_MASK 0x00020000
94 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_BUSY_POS 18U
95 #define EXAMPLE_CARGO_REG_APPLICATION_STATUS_FIELD_BUSY_MASK 0x00040000
96
97 // The defines for result_header fields (masks ans bit-positions)
98 #define EXAMPLE_CARGO_REG_RESULT_HEADER_FIELD_TEMPERATURE_POS 0U
99 #define EXAMPLE_CARGO_REG_RESULT_HEADER_FIELD_TEMPERATURE_MASK 0x0000ffff
100 #define EXAMPLE_CARGO_REG_RESULT_HEADER_FIELD_UTILIZATION_LEVEL_VALID_POS 17U
101 #define EXAMPLE_CARGO_REG_RESULT_HEADER_FIELD_UTILIZATION_LEVEL_VALID_MASK 0x00020000
102 #define EXAMPLE_CARGO_REG_RESULT_HEADER_FIELD_PRESENCE_VALID_POS 18U
103 #define EXAMPLE_CARGO_REG_RESULT_HEADER_FIELD_PRESENCE_VALID_MASK 0x00040000
104
105 // The defines for command enum values
106 #define EXAMPLE_CARGO_REG_COMMAND_ENUM_APPLY_CONFIGURATION 1U
107 #define EXAMPLE_CARGO_REG_COMMAND_ENUM_MEASURE_UTILIZATION_LEVEL 4U
108 #define EXAMPLE_CARGO_REG_COMMAND_ENUM_MEASURE_PRESENCE 5U
109 #define EXAMPLE_CARGO_REG_COMMAND_ENUM_ENABLE_UART_LOGS 32U
110 #define EXAMPLE_CARGO_REG_COMMAND_ENUM_DISABLE_UART_LOGS 33U
111 #define EXAMPLE_CARGO_REG_COMMAND_ENUM_LOG_CONFIGURATION 34U
112 #define EXAMPLE_CARGO_REG_COMMAND_ENUM_RESET_MODULE 0x52535421
113
114 // The defines for application_id enum values
115 #define EXAMPLE_CARGO_REG_APPLICATION_ID_ENUM_DISTANCE_DETECTOR 1U
116 #define EXAMPLE_CARGO_REG_APPLICATION_ID_ENUM_PRESENCE_DETECTOR 2U
117 #define EXAMPLE_CARGO_REG_APPLICATION_ID_ENUM_REF_APP_BREATHING 3U
118 #define EXAMPLE_CARGO_REG_APPLICATION_ID_ENUM_EXAMPLE_CARGO 4U
119
120 // The config default defines
121
122
123 /**
124 * The example_cargo protocol setup function.
125 */
126 void example_cargo_reg_protocol_setup(void);
127
128
129 /**
130 * The example_cargo protocol write default register value function.
131 */
132 void example_cargo_reg_protocol_write_default(void);
133
134
135 /**
136 * Read:
137 * Get the RSS version.
138 */
139 void example_cargo_reg_read_version(uint32_t *value);
140
141
142 /**
143 * Read:
144 * Get protocol error flags.
145 */
146 void example_cargo_reg_read_protocol_status(uint32_t *value);
147
148
149 /**
150 * Read:
151 * Get the measure counter, the number of measurements performed since
152 * restart.
153 */
154 void example_cargo_reg_read_measure_counter(uint32_t *value);
155
156
157 /**
158 * Read:
159 * Get the actual update rate (frame rate) of presence during a burst
160 */
161 void example_cargo_reg_read_actual_presence_update_rate(uint32_t *value);
162
163
164 /**
165 * Read:
166 * Get example app status flags.
167 */
168 void example_cargo_reg_read_application_status(uint32_t *value);
169
170
171 /**
172 * Read:
173 * Size of the container. Valid values to write are 10U, 20U and 40U.
174 */
175 void example_cargo_reg_read_container_size(uint32_t *value);
176
177
178 /**
179 * Write:
180 * Size of the container. Valid values to write are 10U, 20U and 40U.
181 */
182 bool example_cargo_reg_write_container_size(const uint32_t value);
183
184
185 /**
186 * Read:
187 * Whether to activate utilization level measurements. The command
188 * MEASURE_UTILIZATION_LEVEL cannot succeed if this register if false.
189 */
190 void example_cargo_reg_read_activate_utilization_level(uint32_t *value);
191
192
193 /**
194 * Write:
195 * Whether to activate utilization level measurements. The command
196 * MEASURE_UTILIZATION_LEVEL cannot succeed if this register if false.
197 */
198 bool example_cargo_reg_write_activate_utilization_level(const uint32_t value);
199
200
201 /**
202 * Read:
203 * Signal quality. This register is x1000 compared to the Cargo
204 * Example Application. For more information, see documentation about
205 * the Distance Detectors signal quality parameter.
206 */
207 void example_cargo_reg_read_utilization_signal_quality(uint32_t *value);
208
209
210 /**
211 * Write:
212 * Signal quality. This register is x1000 compared to the Cargo
213 * Example Application. For more information, see documentation about
214 * the Distance Detectors signal quality parameter.
215 */
216 bool example_cargo_reg_write_utilization_signal_quality(const uint32_t value);
217
218
219 /**
220 * Read:
221 * Threshold sensitivity. This register is x1000 compared to the Cargo
222 * Example Application. For more information, see documentation about
223 * the Distance Detectors threshold sensitivity parameter.
224 */
225 void example_cargo_reg_read_utilization_threshold_sensitivity(uint32_t *value);
226
227
228 /**
229 * Write:
230 * Threshold sensitivity. This register is x1000 compared to the Cargo
231 * Example Application. For more information, see documentation about
232 * the Distance Detectors threshold sensitivity parameter.
233 */
234 bool example_cargo_reg_write_utilization_threshold_sensitivity(const uint32_t value);
235
236
237 /**
238 * Read:
239 * Whether to activate presence measurements. The command
240 * MEASURE_PRESENCE cannot succeed if this register if false.
241 */
242 void example_cargo_reg_read_activate_presence(uint32_t *value);
243
244
245 /**
246 * Write:
247 * Whether to activate presence measurements. The command
248 * MEASURE_PRESENCE cannot succeed if this register if false.
249 */
250 bool example_cargo_reg_write_activate_presence(const uint32_t value);
251
252
253 /**
254 * Read:
255 * The presence detector update rate (frame rate). This register is
256 * x1000 compared to the Cargo Example Application. For more
257 * information, see documentation about the Presence Detectors frame
258 * rate parameter.
259 */
260 void example_cargo_reg_read_presence_update_rate(uint32_t *value);
261
262
263 /**
264 * Write:
265 * The presence detector update rate (frame rate). This register is
266 * x1000 compared to the Cargo Example Application. For more
267 * information, see documentation about the Presence Detectors frame
268 * rate parameter.
269 */
270 bool example_cargo_reg_write_presence_update_rate(const uint32_t value);
271
272
273 /**
274 * Read:
275 * The number of sweeps that will be captured in each frame
276 * (measurement). For more information, see documentation about the
277 * Presence Detectors sweeps_per_frame parameter.
278 */
279 void example_cargo_reg_read_presence_sweeps_per_frame(uint32_t *value);
280
281
282 /**
283 * Write:
284 * The number of sweeps that will be captured in each frame
285 * (measurement). For more information, see documentation about the
286 * Presence Detectors sweeps_per_frame parameter.
287 */
288 bool example_cargo_reg_write_presence_sweeps_per_frame(const uint32_t value);
289
290
291 /**
292 * Read:
293 * Signal quality. This register is x1000 compared to the Cargo
294 * Example Application. For more information, see documentation about
295 * the Presence Detectors signal quality parameter.
296 */
297 void example_cargo_reg_read_presence_signal_quality(uint32_t *value);
298
299
300 /**
301 * Write:
302 * Signal quality. This register is x1000 compared to the Cargo
303 * Example Application. For more information, see documentation about
304 * the Presence Detectors signal quality parameter.
305 */
306 bool example_cargo_reg_write_presence_signal_quality(const uint32_t value);
307
308
309 /**
310 * Read:
311 * This is the threshold for detecting slower movements between
312 * frames. This register is x1000 compared to the Cargo Example
313 * Application. For more information, see documentation about the
314 * Presence Detectors inter detection threshold parameter.
315 */
316 void example_cargo_reg_read_presence_inter_detection_threshold(uint32_t *value);
317
318
319 /**
320 * Write:
321 * This is the threshold for detecting slower movements between
322 * frames. This register is x1000 compared to the Cargo Example
323 * Application. For more information, see documentation about the
324 * Presence Detectors inter detection threshold parameter.
325 */
326 bool example_cargo_reg_write_presence_inter_detection_threshold(const uint32_t value);
327
328
329 /**
330 * Read:
331 * This is the threshold for detecting faster movements between
332 * frames. This register is x1000 compared to the Cargo Example
333 * Application. For more information, see documentation about the
334 * Presence Detectors intra detection threshold parameter.
335 */
336 void example_cargo_reg_read_presence_intra_detection_threshold(uint32_t *value);
337
338
339 /**
340 * Write:
341 * This is the threshold for detecting faster movements between
342 * frames. This register is x1000 compared to the Cargo Example
343 * Application. For more information, see documentation about the
344 * Presence Detectors intra detection threshold parameter.
345 */
346 bool example_cargo_reg_write_presence_intra_detection_threshold(const uint32_t value);
347
348
349 /**
350 * Read:
351 * The result header for the cargo result.
352 */
353 void example_cargo_reg_read_result_header(uint32_t *value);
354
355
356 /**
357 * Read:
358 * The distance, in millimeters, to the detection.
359 */
360 void example_cargo_reg_read_utilization_distance(uint32_t *value);
361
362
363 /**
364 * Read:
365 * The fill level in millimeters. Fill level is the distance from the
366 * detection to the back of the container.
367 */
368 void example_cargo_reg_read_utilization_level_mm(uint32_t *value);
369
370
371 /**
372 * Read:
373 * The fill level in percent. Fill level is the distance from the
374 * detection to the back of the container.
375 */
376 void example_cargo_reg_read_utilization_level_percent(uint32_t *value);
377
378
379 /**
380 * Read:
381 * Whether presence was detected during the 5s presence burst
382 */
383 void example_cargo_reg_read_presence_detected(uint32_t *value);
384
385
386 /**
387 * Read:
388 * Inter presence score is a measure of the amount of slow motion
389 * detected. This register contains the maximum inter presence score
390 * during the 5s presence burst.
391 */
392 void example_cargo_reg_read_max_inter_presence_score(uint32_t *value);
393
394
395 /**
396 * Read:
397 * Intra presence score is measure of the amount of slow motion
398 * detected. This register contains the maximum intra presence score
399 * during the 5s presence burst.
400 */
401 void example_cargo_reg_read_max_intra_presence_score(uint32_t *value);
402
403
404 /**
405 * Write:
406 * Execute command.
407 */
408 bool example_cargo_reg_write_command(const uint32_t value);
409
410
411 /**
412 * Read:
413 * The application id register.
414 */
415 void example_cargo_reg_read_application_id(uint32_t *value);
416
417
418 #endif
example_cargo_reg_read_protocol_status
void example_cargo_reg_read_protocol_status(uint32_t *value)
Definition: example_cargo_reg_protocol_access.c:39
example_cargo_reg_write_presence_inter_detection_threshold
bool example_cargo_reg_write_presence_inter_detection_threshold(const uint32_t value)
Definition: example_cargo_reg_protocol_access.c:256
example_cargo_reg_read_utilization_level_mm
void example_cargo_reg_read_utilization_level_mm(uint32_t *value)
Definition: example_cargo_reg_protocol_access.c:312
example_cargo_reg_read_presence_intra_detection_threshold
void example_cargo_reg_read_presence_intra_detection_threshold(uint32_t *value)
Definition: example_cargo_reg_protocol_access.c:265
example_cargo_reg_read_presence_update_rate
void example_cargo_reg_read_presence_update_rate(uint32_t *value)
Definition: example_cargo_reg_protocol_access.c:201
example_cargo_reg_read_actual_presence_update_rate
void example_cargo_reg_read_actual_presence_update_rate(uint32_t *value)
Definition: example_cargo_reg_protocol_access.c:77
example_cargo_reg_write_utilization_signal_quality
bool example_cargo_reg_write_utilization_signal_quality(const uint32_t value)
Definition: example_cargo_reg_protocol_access.c:160
example_cargo_reg_read_activate_presence
void example_cargo_reg_read_activate_presence(uint32_t *value)
Definition: example_cargo_reg_protocol_access.c:185
example_cargo_reg_read_container_size
void example_cargo_reg_read_container_size(uint32_t *value)
Definition: example_cargo_reg_protocol_access.c:92
example_cargo_reg_write_presence_signal_quality
bool example_cargo_reg_write_presence_signal_quality(const uint32_t value)
Definition: example_cargo_reg_protocol_access.c:240
example_cargo_reg_read_utilization_signal_quality
void example_cargo_reg_read_utilization_signal_quality(uint32_t *value)
Definition: example_cargo_reg_protocol_access.c:153
example_cargo_reg_protocol_setup
void example_cargo_reg_protocol_setup(void)
Definition: example_cargo_reg_protocol.c:142
example_cargo_reg_read_application_status
void example_cargo_reg_read_application_status(uint32_t *value)
Definition: example_cargo_reg_protocol_access.c:87
example_cargo_reg_write_utilization_threshold_sensitivity
bool example_cargo_reg_write_utilization_threshold_sensitivity(const uint32_t value)
Definition: example_cargo_reg_protocol_access.c:176
example_cargo_reg_read_version
void example_cargo_reg_read_version(uint32_t *value)
Definition: example_cargo_reg_protocol_access.c:34
example_cargo_reg_read_presence_detected
void example_cargo_reg_read_presence_detected(uint32_t *value)
Definition: example_cargo_reg_protocol_access.c:330
example_cargo_reg_read_result_header
void example_cargo_reg_read_result_header(uint32_t *value)
Definition: example_cargo_reg_protocol_access.c:281
example_cargo_reg_write_presence_update_rate
bool example_cargo_reg_write_presence_update_rate(const uint32_t value)
Definition: example_cargo_reg_protocol_access.c:208
example_cargo_reg_write_container_size
bool example_cargo_reg_write_container_size(const uint32_t value)
Definition: example_cargo_reg_protocol_access.c:113
example_cargo_reg_read_measure_counter
void example_cargo_reg_read_measure_counter(uint32_t *value)
Definition: example_cargo_reg_protocol_access.c:72
example_cargo_reg_write_presence_intra_detection_threshold
bool example_cargo_reg_write_presence_intra_detection_threshold(const uint32_t value)
Definition: example_cargo_reg_protocol_access.c:272
example_cargo_reg_write_activate_presence
bool example_cargo_reg_write_activate_presence(const uint32_t value)
Definition: example_cargo_reg_protocol_access.c:192
example_cargo_reg_write_activate_utilization_level
bool example_cargo_reg_write_activate_utilization_level(const uint32_t value)
Definition: example_cargo_reg_protocol_access.c:144
example_cargo_reg_read_presence_sweeps_per_frame
void example_cargo_reg_read_presence_sweeps_per_frame(uint32_t *value)
Definition: example_cargo_reg_protocol_access.c:217
example_cargo_reg_read_max_intra_presence_score
void example_cargo_reg_read_max_intra_presence_score(uint32_t *value)
Definition: example_cargo_reg_protocol_access.c:348
example_cargo_reg_protocol_write_default
void example_cargo_reg_protocol_write_default(void)
Definition: example_cargo_reg_protocol.c:148
example_cargo_reg_read_utilization_level_percent
void example_cargo_reg_read_utilization_level_percent(uint32_t *value)
Definition: example_cargo_reg_protocol_access.c:321
example_cargo_reg_read_application_id
void example_cargo_reg_read_application_id(uint32_t *value)
Definition: example_cargo_reg_protocol_access.c:29
example_cargo_reg_read_presence_inter_detection_threshold
void example_cargo_reg_read_presence_inter_detection_threshold(uint32_t *value)
Definition: example_cargo_reg_protocol_access.c:249
example_cargo_reg_read_utilization_distance
void example_cargo_reg_read_utilization_distance(uint32_t *value)
Definition: example_cargo_reg_protocol_access.c:303
example_cargo_reg_read_max_inter_presence_score
void example_cargo_reg_read_max_inter_presence_score(uint32_t *value)
Definition: example_cargo_reg_protocol_access.c:339
example_cargo_reg_read_utilization_threshold_sensitivity
void example_cargo_reg_read_utilization_threshold_sensitivity(uint32_t *value)
Definition: example_cargo_reg_protocol_access.c:169
example_cargo_reg_write_command
bool example_cargo_reg_write_command(const uint32_t value)
Definition: example_cargo_reg_protocol_access.c:82
example_cargo_reg_write_presence_sweeps_per_frame
bool example_cargo_reg_write_presence_sweeps_per_frame(const uint32_t value)
Definition: example_cargo_reg_protocol_access.c:224
example_cargo_reg_read_activate_utilization_level
void example_cargo_reg_read_activate_utilization_level(uint32_t *value)
Definition: example_cargo_reg_protocol_access.c:137
example_cargo_reg_read_presence_signal_quality
void example_cargo_reg_read_presence_signal_quality(uint32_t *value)
Definition: example_cargo_reg_protocol_access.c:233