vl53l1_register_funcs.h
Go to the documentation of this file.
1 /*
2 * Copyright (c) 2017, STMicroelectronics - All Rights Reserved
3 *
4 * This file is part of VL53L1 Core and is dual licensed,
5 * either 'STMicroelectronics
6 * Proprietary license'
7 * or 'BSD 3-clause "New" or "Revised" License' , at your option.
8 *
9 ********************************************************************************
10 *
11 * 'STMicroelectronics Proprietary license'
12 *
13 ********************************************************************************
14 *
15 * License terms: STMicroelectronics Proprietary in accordance with licensing
16 * terms at www.st.com/sla0081
17 *
18 * STMicroelectronics confidential
19 * Reproduction and Communication of this document is strictly prohibited unless
20 * specifically authorized in writing by STMicroelectronics.
21 *
22 *
23 ********************************************************************************
24 *
25 * Alternatively, VL53L1 Core may be distributed under the terms of
26 * 'BSD 3-clause "New" or "Revised" License', in which case the following
27 * provisions apply instead of the ones mentioned above :
28 *
29 ********************************************************************************
30 *
31 * License terms: BSD 3-clause "New" or "Revised" License.
32 *
33 * Redistribution and use in source and binary forms, with or without
34 * modification, are permitted provided that the following conditions are met:
35 *
36 * 1. Redistributions of source code must retain the above copyright notice, this
37 * list of conditions and the following disclaimer.
38 *
39 * 2. Redistributions in binary form must reproduce the above copyright notice,
40 * this list of conditions and the following disclaimer in the documentation
41 * and/or other materials provided with the distribution.
42 *
43 * 3. Neither the name of the copyright holder nor the names of its contributors
44 * may be used to endorse or promote products derived from this software
45 * without specific prior written permission.
46 *
47 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
48 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
49 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
50 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
51 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
52 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
53 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
54 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
55 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
56 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
57 *
58 *
59 ********************************************************************************
60 *
61 */
62 
68 #ifndef _VL53L1_REGISTER_FUNCS_H_
69 #define _VL53L1_REGISTER_FUNCS_H_
70 
71 #include "vl53l1_platform.h"
72 
73 #ifdef __cplusplus
74 extern "C"
75 {
76 #endif
77 
78 
91  uint16_t buf_size,
92  uint8_t *pbuffer);
93 
94 
109  uint16_t buf_size,
110  uint8_t *pbuffer,
112 
113 
128  VL53L1_DEV Dev,
130 
131 
146  VL53L1_DEV Dev,
148 
149 
162  uint16_t buf_size,
163  uint8_t *pbuffer);
164 
165 
180  uint16_t buf_size,
181  uint8_t *pbuffer,
183 
184 
199  VL53L1_DEV Dev,
201 
202 
217  VL53L1_DEV Dev,
219 
220 
232  VL53L1_static_config_t *pdata,
233  uint16_t buf_size,
234  uint8_t *pbuffer);
235 
236 
251  uint16_t buf_size,
252  uint8_t *pbuffer,
253  VL53L1_static_config_t *pdata);
254 
255 
270  VL53L1_DEV Dev,
271  VL53L1_static_config_t *pdata);
272 
273 
287 #ifdef VL53L1_DEBUG
288 VL53L1_Error VL53L1_get_static_config(
289  VL53L1_DEV Dev,
290  VL53L1_static_config_t *pdata);
291 #endif
292 
293 
306  uint16_t buf_size,
307  uint8_t *pbuffer);
308 
309 
324  uint16_t buf_size,
325  uint8_t *pbuffer,
326  VL53L1_general_config_t *pdata);
327 
328 
343  VL53L1_DEV Dev,
344  VL53L1_general_config_t *pdata);
345 
346 
360 #ifdef VL53L1_DEBUG
361 VL53L1_Error VL53L1_get_general_config(
362  VL53L1_DEV Dev,
363  VL53L1_general_config_t *pdata);
364 #endif
365 
366 
378  VL53L1_timing_config_t *pdata,
379  uint16_t buf_size,
380  uint8_t *pbuffer);
381 
382 
396 #ifdef PAL_EXTENDED
397 VL53L1_Error VL53L1_i2c_decode_timing_config(
398  uint16_t buf_size,
399  uint8_t *pbuffer,
400  VL53L1_timing_config_t *pdata);
401 #endif
402 
403 
417 #ifdef PAL_EXTENDED
418 VL53L1_Error VL53L1_set_timing_config(
419  VL53L1_DEV Dev,
420  VL53L1_timing_config_t *pdata);
421 #endif
422 
423 
437 #ifdef VL53L1_DEBUG
438 VL53L1_Error VL53L1_get_timing_config(
439  VL53L1_DEV Dev,
440  VL53L1_timing_config_t *pdata);
441 #endif
442 
443 
456  uint16_t buf_size,
457  uint8_t *pbuffer);
458 
459 
473 #ifdef PAL_EXTENDED
474 VL53L1_Error VL53L1_i2c_decode_dynamic_config(
475  uint16_t buf_size,
476  uint8_t *pbuffer,
477  VL53L1_dynamic_config_t *pdata);
478 #endif
479 
480 
495  VL53L1_DEV Dev,
496  VL53L1_dynamic_config_t *pdata);
497 
498 
512 #ifdef VL53L1_DEBUG
513 VL53L1_Error VL53L1_get_dynamic_config(
514  VL53L1_DEV Dev,
515  VL53L1_dynamic_config_t *pdata);
516 #endif
517 
530  uint16_t buf_size,
531  uint8_t *pbuffer);
532 
533 
547 #ifdef PAL_EXTENDED
548 VL53L1_Error VL53L1_i2c_decode_system_control(
549  uint16_t buf_size,
550  uint8_t *pbuffer,
551  VL53L1_system_control_t *pdata);
552 #endif
553 
554 
569  VL53L1_DEV Dev,
570  VL53L1_system_control_t *pdata);
571 
572 
586 #ifdef VL53L1_DEBUG
587 VL53L1_Error VL53L1_get_system_control(
588  VL53L1_DEV Dev,
589  VL53L1_system_control_t *pdata);
590 #endif
591 
592 
603 #ifdef PAL_EXTENDED
604 VL53L1_Error VL53L1_i2c_encode_system_results(
606  uint16_t buf_size,
607  uint8_t *pbuffer);
608 #endif
609 
610 
625  uint16_t buf_size,
626  uint8_t *pbuffer,
627  VL53L1_system_results_t *pdata);
628 
629 
643 #ifdef PAL_EXTENDED
644 VL53L1_Error VL53L1_set_system_results(
645  VL53L1_DEV Dev,
646  VL53L1_system_results_t *pdata);
647 #endif
648 
649 
664  VL53L1_DEV Dev,
665  VL53L1_system_results_t *pdata);
666 
667 
678 #ifdef PAL_EXTENDED
679 VL53L1_Error VL53L1_i2c_encode_core_results(
680  VL53L1_core_results_t *pdata,
681  uint16_t buf_size,
682  uint8_t *pbuffer);
683 #endif
684 
685 
700  uint16_t buf_size,
701  uint8_t *pbuffer,
702  VL53L1_core_results_t *pdata);
703 
704 
718 #ifdef VL53L1_DEBUG
719 VL53L1_Error VL53L1_set_core_results(
720  VL53L1_DEV Dev,
721  VL53L1_core_results_t *pdata);
722 #endif
723 
724 
738 #ifdef PAL_EXTENDED
739 VL53L1_Error VL53L1_get_core_results(
740  VL53L1_DEV Dev,
741  VL53L1_core_results_t *pdata);
742 #endif
743 
744 
755 #ifdef VL53L1_DEBUG
756 VL53L1_Error VL53L1_i2c_encode_debug_results(
757  VL53L1_debug_results_t *pdata,
758  uint16_t buf_size,
759  uint8_t *pbuffer);
760 #endif
761 
776  uint16_t buf_size,
777  uint8_t *pbuffer,
778  VL53L1_debug_results_t *pdata);
779 
780 
794 #ifdef VL53L1_DEBUG
795 VL53L1_Error VL53L1_set_debug_results(
796  VL53L1_DEV Dev,
797  VL53L1_debug_results_t *pdata);
798 
812 VL53L1_Error VL53L1_get_debug_results(
813  VL53L1_DEV Dev,
814  VL53L1_debug_results_t *pdata);
815 
816 #endif
817 
828 #ifdef PAL_EXTENDED
829 VL53L1_Error VL53L1_i2c_encode_nvm_copy_data(
830  VL53L1_nvm_copy_data_t *pdata,
831  uint16_t buf_size,
832  uint8_t *pbuffer);
833 #endif
834 
835 
850  uint16_t buf_size,
851  uint8_t *pbuffer,
852  VL53L1_nvm_copy_data_t *pdata);
853 
854 
867 #ifdef PAL_EXTENDED
868 VL53L1_Error VL53L1_set_nvm_copy_data(
869  VL53L1_DEV Dev,
870  VL53L1_nvm_copy_data_t *pdata);
871 #endif
872 
873 
888  VL53L1_DEV Dev,
889  VL53L1_nvm_copy_data_t *pdata);
890 
891 
902 #ifdef VL53L1_DEBUG
903 VL53L1_Error VL53L1_i2c_encode_prev_shadow_system_results(
905  uint16_t buf_size,
906  uint8_t *pbuffer);
907 
908 
922 VL53L1_Error VL53L1_i2c_decode_prev_shadow_system_results(
923  uint16_t buf_size,
924  uint8_t *pbuffer,
926 
927 
941 VL53L1_Error VL53L1_set_prev_shadow_system_results(
942  VL53L1_DEV Dev,
944 
945 
959 VL53L1_Error VL53L1_get_prev_shadow_system_results(
960  VL53L1_DEV Dev,
962 
973 VL53L1_Error VL53L1_i2c_encode_prev_shadow_core_results(
975  uint16_t buf_size,
976  uint8_t *pbuffer);
977 
978 
992 VL53L1_Error VL53L1_i2c_decode_prev_shadow_core_results(
993  uint16_t buf_size,
994  uint8_t *pbuffer,
996 
997 
1011 VL53L1_Error VL53L1_set_prev_shadow_core_results(
1012  VL53L1_DEV Dev,
1014 
1015 
1028 VL53L1_Error VL53L1_get_prev_shadow_core_results(
1029  VL53L1_DEV Dev,
1031 
1032 
1043 VL53L1_Error VL53L1_i2c_encode_patch_debug(
1044  VL53L1_patch_debug_t *pdata,
1045  uint16_t buf_size,
1046  uint8_t *pbuffer);
1047 
1048 
1062 VL53L1_Error VL53L1_i2c_decode_patch_debug(
1063  uint16_t buf_size,
1064  uint8_t *pbuffer,
1065  VL53L1_patch_debug_t *pdata);
1066 
1067 
1081 VL53L1_Error VL53L1_set_patch_debug(
1082  VL53L1_DEV Dev,
1083  VL53L1_patch_debug_t *pdata);
1084 
1085 
1099 VL53L1_Error VL53L1_get_patch_debug(
1100  VL53L1_DEV Dev,
1101  VL53L1_patch_debug_t *pdata);
1102 
1103 #endif
1104 
1115 #ifdef PAL_EXTENDED
1116 VL53L1_Error VL53L1_i2c_encode_gph_general_config(
1118  uint16_t buf_size,
1119  uint8_t *pbuffer);
1120 #endif
1121 
1122 
1136 #ifdef PAL_EXTENDED
1137 VL53L1_Error VL53L1_i2c_decode_gph_general_config(
1138  uint16_t buf_size,
1139  uint8_t *pbuffer,
1141 #endif
1142 
1143 
1157 #ifdef PAL_EXTENDED
1158 VL53L1_Error VL53L1_set_gph_general_config(
1159  VL53L1_DEV Dev,
1161 #endif
1162 
1176 #ifdef PAL_EXTENDED
1177 VL53L1_Error VL53L1_get_gph_general_config(
1178  VL53L1_DEV Dev,
1180 #endif
1181 
1182 
1193 #ifdef PAL_EXTENDED
1194 VL53L1_Error VL53L1_i2c_encode_gph_static_config(
1196  uint16_t buf_size,
1197  uint8_t *pbuffer);
1198 #endif
1199 
1200 
1214 #ifdef PAL_EXTENDED
1215 VL53L1_Error VL53L1_i2c_decode_gph_static_config(
1216  uint16_t buf_size,
1217  uint8_t *pbuffer,
1219 #endif
1220 
1221 
1235 #ifdef VL53L1_DEBUG
1236 VL53L1_Error VL53L1_set_gph_static_config(
1237  VL53L1_DEV Dev,
1239 #endif
1240 
1241 
1255 #ifdef PAL_EXTENDED
1256 VL53L1_Error VL53L1_get_gph_static_config(
1257  VL53L1_DEV Dev,
1259 #endif
1260 
1261 
1272 #ifdef PAL_EXTENDED
1273 VL53L1_Error VL53L1_i2c_encode_gph_timing_config(
1275  uint16_t buf_size,
1276  uint8_t *pbuffer);
1277 #endif
1278 
1279 
1293 #ifdef PAL_EXTENDED
1294 VL53L1_Error VL53L1_i2c_decode_gph_timing_config(
1295  uint16_t buf_size,
1296  uint8_t *pbuffer,
1298 #endif
1299 
1300 
1314 #ifdef VL53L1_DEBUG
1315 VL53L1_Error VL53L1_set_gph_timing_config(
1316  VL53L1_DEV Dev,
1318 #endif
1319 
1320 
1334 #ifdef PAL_EXTENDED
1335 VL53L1_Error VL53L1_get_gph_timing_config(
1336  VL53L1_DEV Dev,
1338 #endif
1339 
1340 
1351 #ifdef VL53L1_DEBUG
1352 VL53L1_Error VL53L1_i2c_encode_fw_internal(
1353  VL53L1_fw_internal_t *pdata,
1354  uint16_t buf_size,
1355  uint8_t *pbuffer);
1356 
1357 
1371 VL53L1_Error VL53L1_i2c_decode_fw_internal(
1372  uint16_t buf_size,
1373  uint8_t *pbuffer,
1374  VL53L1_fw_internal_t *pdata);
1375 
1376 
1390 VL53L1_Error VL53L1_set_fw_internal(
1391  VL53L1_DEV Dev,
1392  VL53L1_fw_internal_t *pdata);
1393 
1394 
1408 VL53L1_Error VL53L1_get_fw_internal(
1409  VL53L1_DEV Dev,
1410  VL53L1_fw_internal_t *pdata);
1411 
1412 
1413 
1424 VL53L1_Error VL53L1_i2c_encode_patch_results(
1425  VL53L1_patch_results_t *pdata,
1426  uint16_t buf_size,
1427  uint8_t *pbuffer);
1428 
1429 
1443 VL53L1_Error VL53L1_i2c_decode_patch_results(
1444  uint16_t buf_size,
1445  uint8_t *pbuffer,
1446  VL53L1_patch_results_t *pdata);
1447 
1448 
1462 VL53L1_Error VL53L1_set_patch_results(
1463  VL53L1_DEV Dev,
1464  VL53L1_patch_results_t *pdata);
1465 
1466 
1480 VL53L1_Error VL53L1_get_patch_results(
1481  VL53L1_DEV Dev,
1482  VL53L1_patch_results_t *pdata);
1483 #endif
1484 
1485 
1496 #ifdef VL53L1_DEBUG
1497 VL53L1_Error VL53L1_i2c_encode_shadow_system_results(
1499  uint16_t buf_size,
1500  uint8_t *pbuffer);
1501 
1502 
1516 VL53L1_Error VL53L1_i2c_decode_shadow_system_results(
1517  uint16_t buf_size,
1518  uint8_t *pbuffer,
1520 
1521 
1535 VL53L1_Error VL53L1_set_shadow_system_results(
1536  VL53L1_DEV Dev,
1538 
1539 
1553 VL53L1_Error VL53L1_get_shadow_system_results(
1554  VL53L1_DEV Dev,
1556 
1557 
1568 VL53L1_Error VL53L1_i2c_encode_shadow_core_results(
1570  uint16_t buf_size,
1571  uint8_t *pbuffer);
1572 
1573 
1587 VL53L1_Error VL53L1_i2c_decode_shadow_core_results(
1588  uint16_t buf_size,
1589  uint8_t *pbuffer,
1591 
1592 
1606 VL53L1_Error VL53L1_set_shadow_core_results(
1607  VL53L1_DEV Dev,
1609 
1610 
1624 VL53L1_Error VL53L1_get_shadow_core_results(
1625  VL53L1_DEV Dev,
1627 #endif
1628 
1629 
1630 #ifdef __cplusplus
1631 }
1632 #endif
1633 
1634 #endif
1635 
VL53L1_system_results_t
Definition: vl53l1_register_structs.h:1359
VL53L1_timing_config_t
Definition: vl53l1_register_structs.h:932
VL53L1_i2c_encode_dynamic_config
VL53L1_Error VL53L1_i2c_encode_dynamic_config(VL53L1_dynamic_config_t *pdata, uint16_t buf_size, uint8_t *pbuffer)
Decodes data structure VL53L1_timing_config_t from the input I2C read buffer.
Definition: vl53l1_register_funcs.c:1054
uint8_t
unsigned char uint8_t
Typedef defining 8 bit unsigned char type. The developer should modify this to suit the platform bein...
Definition: vl53l1_types.h:133
VL53L1_core_results_t
Definition: vl53l1_register_structs.h:1628
VL53L1_set_static_config
VL53L1_Error VL53L1_set_static_config(VL53L1_DEV Dev, VL53L1_static_config_t *pdata)
Sets static_config register group.
Definition: vl53l1_register_funcs.c:604
VL53L1_get_customer_nvm_managed
VL53L1_Error VL53L1_get_customer_nvm_managed(VL53L1_DEV Dev, VL53L1_customer_nvm_managed_t *pdata)
Gets customer_nvm_managed register group.
Definition: vl53l1_register_funcs.c:399
VL53L1_set_static_nvm_managed
VL53L1_Error VL53L1_set_static_nvm_managed(VL53L1_DEV Dev, VL53L1_static_nvm_managed_t *pdata)
Sets static_nvm_managed register group.
Definition: vl53l1_register_funcs.c:174
VL53L1_general_config_t
Definition: vl53l1_register_structs.h:743
VL53L1_get_system_results
VL53L1_Error VL53L1_get_system_results(VL53L1_DEV Dev, VL53L1_system_results_t *pdata)
Sets system_results register group.
Definition: vl53l1_register_funcs.c:1600
VL53L1_i2c_decode_system_results
VL53L1_Error VL53L1_i2c_decode_system_results(uint16_t buf_size, uint8_t *pbuffer, VL53L1_system_results_t *pdata)
Gets system_control register group.
Definition: vl53l1_register_funcs.c:1491
VL53L1_prev_shadow_core_results_t
Definition: vl53l1_register_structs.h:2960
VL53L1_i2c_encode_timing_config
VL53L1_Error VL53L1_i2c_encode_timing_config(VL53L1_timing_config_t *pdata, uint16_t buf_size, uint8_t *pbuffer)
Gets general_config register group.
Definition: vl53l1_register_funcs.c:864
VL53L1_i2c_encode_static_config
VL53L1_Error VL53L1_i2c_encode_static_config(VL53L1_static_config_t *pdata, uint16_t buf_size, uint8_t *pbuffer)
Encodes data structure VL53L1_static_config_t into a I2C write buffer.
Definition: vl53l1_register_funcs.c:432
VL53L1_i2c_decode_nvm_copy_data
VL53L1_Error VL53L1_i2c_decode_nvm_copy_data(uint16_t buf_size, uint8_t *pbuffer, VL53L1_nvm_copy_data_t *pdata)
Sets debug_results register group.
Definition: vl53l1_register_funcs.c:2245
VL53L1_gph_general_config_t
Definition: vl53l1_register_structs.h:3096
VL53L1_set_dynamic_config
VL53L1_Error VL53L1_set_dynamic_config(VL53L1_DEV Dev, VL53L1_dynamic_config_t *pdata)
Decodes data structure VL53L1_dynamic_config_t from the input I2C read buffer.
Definition: vl53l1_register_funcs.c:1171
VL53L1_customer_nvm_managed_t
Definition: vl53l1_register_structs.h:243
VL53L1_Dev_t
Definition: vl53l1_platform_user_data.h:78
VL53L1_get_nvm_copy_data
VL53L1_Error VL53L1_get_nvm_copy_data(VL53L1_DEV Dev, VL53L1_nvm_copy_data_t *pdata)
Sets nvm_copy_data register group.
Definition: vl53l1_register_funcs.c:2405
VL53L1_dynamic_config_t
Definition: vl53l1_register_structs.h:1105
VL53L1_debug_results_t
Definition: vl53l1_register_structs.h:1731
VL53L1_gph_timing_config_t
Definition: vl53l1_register_structs.h:3208
VL53L1_i2c_decode_static_nvm_managed
VL53L1_Error VL53L1_i2c_decode_static_nvm_managed(uint16_t buf_size, uint8_t *pbuffer, VL53L1_static_nvm_managed_t *pdata)
Decodes data structure VL53L1_static_nvm_managed_t from the input I2C read buffer.
Definition: vl53l1_register_funcs.c:130
VL53L1_patch_debug_t
Definition: vl53l1_register_structs.h:3063
VL53L1_i2c_encode_customer_nvm_managed
VL53L1_Error VL53L1_i2c_encode_customer_nvm_managed(VL53L1_customer_nvm_managed_t *pdata, uint16_t buf_size, uint8_t *pbuffer)
Encodes data structure VL53L1_customer_nvm_managed_t into a I2C write buffer.
Definition: vl53l1_register_funcs.c:240
VL53L1_set_customer_nvm_managed
VL53L1_Error VL53L1_set_customer_nvm_managed(VL53L1_DEV Dev, VL53L1_customer_nvm_managed_t *pdata)
Sets customer_nvm_managed register group.
Definition: vl53l1_register_funcs.c:366
VL53L1_i2c_decode_debug_results
VL53L1_Error VL53L1_i2c_decode_debug_results(uint16_t buf_size, uint8_t *pbuffer, VL53L1_debug_results_t *pdata)
Sets core_results register group.
Definition: vl53l1_register_funcs.c:1937
VL53L1_set_general_config
VL53L1_Error VL53L1_set_general_config(VL53L1_DEV Dev, VL53L1_general_config_t *pdata)
Sets general_config register group.
Definition: vl53l1_register_funcs.c:796
VL53L1_prev_shadow_system_results_t
Definition: vl53l1_register_structs.h:2702
VL53L1_static_config_t
Definition: vl53l1_register_structs.h:416
VL53L1_i2c_decode_general_config
VL53L1_Error VL53L1_i2c_decode_general_config(uint16_t buf_size, uint8_t *pbuffer, VL53L1_general_config_t *pdata)
Decodes data structure VL53L1_general_config_t from the input I2C read buffer.
Definition: vl53l1_register_funcs.c:738
VL53L1_system_control_t
Definition: vl53l1_register_structs.h:1290
VL53L1_patch_results_t
Definition: vl53l1_register_structs.h:3394
VL53L1_get_static_nvm_managed
VL53L1_Error VL53L1_get_static_nvm_managed(VL53L1_DEV Dev, VL53L1_static_nvm_managed_t *pdata)
Gets static_nvm_managed register group.
Definition: vl53l1_register_funcs.c:207
VL53L1_i2c_encode_static_nvm_managed
VL53L1_Error VL53L1_i2c_encode_static_nvm_managed(VL53L1_static_nvm_managed_t *pdata, uint16_t buf_size, uint8_t *pbuffer)
Encodes data structure VL53L1_static_nvm_managed_t into a I2C write buffer.
Definition: vl53l1_register_funcs.c:84
VL53L1_i2c_encode_general_config
VL53L1_Error VL53L1_i2c_encode_general_config(VL53L1_general_config_t *pdata, uint16_t buf_size, uint8_t *pbuffer)
Gets static_config register group.
Definition: vl53l1_register_funcs.c:672
VL53L1_i2c_decode_customer_nvm_managed
VL53L1_Error VL53L1_i2c_decode_customer_nvm_managed(uint16_t buf_size, uint8_t *pbuffer, VL53L1_customer_nvm_managed_t *pdata)
Decodes data structure VL53L1_customer_nvm_managed_t from the input I2C read buffer.
Definition: vl53l1_register_funcs.c:310
VL53L1_gph_static_config_t
Definition: vl53l1_register_structs.h:3144
vl53l1_platform.h
VL53L1_fw_internal_t
Definition: vl53l1_register_structs.h:3361
VL53L1_nvm_copy_data_t
Definition: vl53l1_register_structs.h:2208
VL53L1_Error
int8_t VL53L1_Error
Definition: vl53l1_error_codes.h:89
VL53L1_shadow_system_results_t
Definition: vl53l1_register_structs.h:4008
uint16_t
unsigned short uint16_t
Typedef defining 16 bit unsigned short type. The developer should modify this to suit the platform be...
Definition: vl53l1_types.h:123
VL53L1_i2c_encode_system_control
VL53L1_Error VL53L1_i2c_encode_system_control(VL53L1_system_control_t *pdata, uint16_t buf_size, uint8_t *pbuffer)
Gets dynamic_config register group.
Definition: vl53l1_register_funcs.c:1239
VL53L1_set_system_control
VL53L1_Error VL53L1_set_system_control(VL53L1_DEV Dev, VL53L1_system_control_t *pdata)
Decodes data structure VL53L1_system_control_t from the input I2C read buffer.
Definition: vl53l1_register_funcs.c:1309
VL53L1_i2c_decode_core_results
VL53L1_Error VL53L1_i2c_decode_core_results(uint16_t buf_size, uint8_t *pbuffer, VL53L1_core_results_t *pdata)
Encodes data structure VL53L1_core_results_t into a I2C write buffer.
Definition: vl53l1_register_funcs.c:1693
VL53L1_shadow_core_results_t
Definition: vl53l1_register_structs.h:4307
VL53L1_static_nvm_managed_t
Definition: vl53l1_register_structs.h:128
VL53L1_i2c_decode_static_config
VL53L1_Error VL53L1_i2c_decode_static_config(uint16_t buf_size, uint8_t *pbuffer, VL53L1_static_config_t *pdata)
Decodes data structure VL53L1_static_config_t from the input I2C read buffer.
Definition: vl53l1_register_funcs.c:520


vl53l1x
Author(s):
autogenerated on Fri Aug 2 2024 08:35:54