|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| _resources/FIFO_Utility_Tool/ | | 03-Aug-2024 | - | 1,226 | 847 |
| a3g4250d_STdC/driver/ | | 03-Aug-2024 | - | 2,681 | 1,522 |
| ais25ba_STdC/driver/ | | 03-Aug-2024 | - | 818 | 420 |
| ais2dw12_STdC/driver/ | | 03-Aug-2024 | - | 3,529 | 1,975 |
| ais2ih_STdC/driver/ | | 03-Aug-2024 | - | 4,308 | 2,420 |
| ais328dq_STdC/driver/ | | 03-Aug-2024 | - | 3,133 | 1,758 |
| ais3624dq_STdC/driver/ | | 03-Aug-2024 | - | 3,155 | 1,798 |
| asm330lhb_STdC/driver/ | | 03-Aug-2024 | - | 9,305 | 6,478 |
| asm330lhh_STdC/driver/ | | 03-Aug-2024 | - | 6,435 | 3,848 |
| asm330lhhx_STdC/driver/ | | 03-Aug-2024 | - | 11,919 | 8,501 |
| h3lis100dl_STdC/driver/ | | 03-Aug-2024 | - | 2,538 | 1,429 |
| h3lis331dl_STdC/driver/ | | 03-Aug-2024 | - | 2,766 | 1,581 |
| hts221_STdC/driver/ | | 03-Aug-2024 | - | 1,484 | 748 |
| i3g4250d_STdC/driver/ | | 03-Aug-2024 | - | 2,789 | 1,602 |
| iis2dh_STdC/driver/ | | 03-Aug-2024 | - | 3,622 | 2,016 |
| iis2dlpc_STdC/driver/ | | 03-Aug-2024 | - | 4,373 | 2,484 |
| iis2iclx_STdC/driver/ | | 03-Aug-2024 | - | 10,417 | 6,985 |
| iis2mdc_STdC/driver/ | | 03-Aug-2024 | - | 1,786 | 915 |
| iis328dq_STdC/driver/ | | 03-Aug-2024 | - | 3,110 | 1,755 |
| iis3dhhc_STdC/driver/ | | 03-Aug-2024 | - | 2,255 | 1,183 |
| iis3dwb_STdC/driver/ | | 03-Aug-2024 | - | 4,230 | 2,431 |
| ilps22qs_STdC/driver/ | | 03-Aug-2024 | - | 1,990 | 1,271 |
| ilps28qsw_STdC/driver/ | | 03-Aug-2024 | - | 1,954 | 1,236 |
| ism303dac_STdC/driver/ | | 03-Aug-2024 | - | 5,176 | 2,944 |
| ism330dhcx_STdC/driver/ | | 03-Aug-2024 | - | 15,610 | 10,590 |
| ism330dlc_STdC/driver/ | | 03-Aug-2024 | - | 10,755 | 6,933 |
| ism330is_STdC/driver/ | | 03-Aug-2024 | - | 6,288 | 4,295 |
| l20g20is_STdC/driver/ | | 03-Aug-2024 | - | 1,917 | 1,088 |
| l3gd20h_STdC/driver/ | | 03-Aug-2024 | - | 3,201 | 1,916 |
| lis25ba_STdC/driver/ | | 03-Aug-2024 | - | 837 | 438 |
| lis2de12_STdC/driver/ | | 03-Aug-2024 | - | 3,609 | 2,023 |
| lis2dh12_STdC/driver/ | | 03-Aug-2024 | - | 3,854 | 2,196 |
| lis2dh_STdC/driver/ | | 03-Aug-2024 | - | 3,712 | 2,101 |
| lis2ds12_STdC/driver/ | | 03-Aug-2024 | - | 5,060 | 2,903 |
| lis2dtw12_STdC/driver/ | | 03-Aug-2024 | - | 4,366 | 2,475 |
| lis2du12_STdC/driver/ | | 03-Aug-2024 | - | 2,682 | 1,832 |
| lis2dux12_STdC/driver/ | | 03-Aug-2024 | - | 6,367 | 4,449 |
| lis2duxs12_STdC/driver/ | | 03-Aug-2024 | - | 6,573 | 4,603 |
| lis2dw12_STdC/driver/ | | 03-Aug-2024 | - | 4,361 | 2,468 |
| lis2hh12_STdC/driver/ | | 03-Aug-2024 | - | 3,501 | 2,109 |
| lis2mdl_STdC/driver/ | | 03-Aug-2024 | - | 1,863 | 954 |
| lis331dlh_STdC/driver/ | | 03-Aug-2024 | - | 3,161 | 1,798 |
| lis3de_STdC/driver/ | | 03-Aug-2024 | - | 3,562 | 1,949 |
| lis3dh_STdC/driver/ | | 03-Aug-2024 | - | 3,808 | 2,123 |
| lis3dhh_STdC/driver/ | | 03-Aug-2024 | - | 2,104 | 1,056 |
| lis3dsh_STdC/driver/ | | 03-Aug-2024 | - | 1,791 | 1,212 |
| lis3mdl_STdC/driver/ | | 03-Aug-2024 | - | 2,147 | 1,133 |
| lps22ch_STdC/driver/ | | 03-Aug-2024 | - | 2,766 | 1,463 |
| lps22df_STdC/driver/ | | 03-Aug-2024 | - | 1,912 | 1,233 |
| lps22hb_STdC/driver/ | | 03-Aug-2024 | - | 2,735 | 1,408 |
| lps22hh_STdC/driver/ | | 03-Aug-2024 | - | 2,650 | 1,418 |
| lps25hb_STdC/driver/ | | 03-Aug-2024 | - | 2,645 | 1,374 |
| lps27hhtw_STdC/driver/ | | 03-Aug-2024 | - | 2,837 | 1,531 |
| lps27hhw_STdC/driver/ | | 03-Aug-2024 | - | 2,803 | 1,497 |
| lps28dfw_STdC/driver/ | | 03-Aug-2024 | - | 1,973 | 1,274 |
| lps33hw_STdC/driver/ | | 03-Aug-2024 | - | 2,732 | 1,408 |
| lps33k_STdC/driver/ | | 03-Aug-2024 | - | 1,132 | 514 |
| lps33w_STdC/driver/ | | 03-Aug-2024 | - | 2,717 | 1,394 |
| lsm303agr_STdC/driver/ | | 03-Aug-2024 | - | 5,263 | 3,028 |
| lsm303ah_STdC/driver/ | | 03-Aug-2024 | - | 6,055 | 3,456 |
| lsm6ds3_STdC/driver/ | | 03-Aug-2024 | - | 9,349 | 5,756 |
| lsm6ds3tr-c_STdC/driver/ | | 03-Aug-2024 | - | 11,022 | 7,031 |
| lsm6dsl_STdC/driver/ | | 03-Aug-2024 | - | 10,703 | 6,712 |
| lsm6dsm_STdC/driver/ | | 03-Aug-2024 | - | 12,081 | 7,501 |
| lsm6dso16is_STdC/driver/ | | 03-Aug-2024 | - | 6,288 | 4,295 |
| lsm6dso32_STdC/driver/ | | 03-Aug-2024 | - | 13,632 | 8,942 |
| lsm6dso32x_STdC/driver/ | | 03-Aug-2024 | - | 16,677 | 11,388 |
| lsm6dso_STdC/driver/ | | 03-Aug-2024 | - | 16,189 | 10,631 |
| lsm6dsox_STdC/driver/ | | 03-Aug-2024 | - | 19,347 | 13,101 |
| lsm6dsr_STdC/driver/ | | 03-Aug-2024 | - | 15,711 | 10,260 |
| lsm6dsrx_STdC/driver/ | | 03-Aug-2024 | - | 16,251 | 10,707 |
| lsm6dsv16bx_STdC/driver/ | | 03-Aug-2024 | - | 12,243 | 8,349 |
| lsm6dsv16x_STdC/driver/ | | 03-Aug-2024 | - | 15,043 | 10,154 |
| lsm6dsv_STdC/driver/ | | 03-Aug-2024 | - | 14,195 | 9,569 |
| lsm9ds1_STdC/driver/ | | 03-Aug-2024 | - | 6,411 | 4,075 |
| sths34pf80_STdC/driver/ | | 03-Aug-2024 | - | 2,917 | 1,650 |
| stts22h_STdC/driver/ | | 03-Aug-2024 | - | 1,031 | 493 |
| stts751_STdC/driver/ | | 03-Aug-2024 | - | 1,143 | 531 |
| CMakeLists.txt | D | 03-Aug-2024 | 1.3 KiB | 98 | 95 |
| LICENSE | D | 03-Aug-2024 | 1.5 KiB | 30 | 23 |
| README | D | 03-Aug-2024 | 4.8 KiB | 151 | 129 |
README
1C-Driver-MEMS
2#############
3
4Origin:
5 ST Microelectronics
6 https://www.st.com/en/embedded-software/c-driver-mems.html
7
8Status:
9 version v2.3
10
11Purpose:
12 ST Microelectronics standard C platform-independent drivers for MEMS
13 motion and environmental sensors.
14
15Description:
16 This package is an extract (examples have not been retained) of official
17 C-Driver-MEMS package written by ST Microelectronics.
18 It contains standard drivers for STMicroelectronics MEMS sensors to
19 provide a common and stable interface to access sensor registers.
20 For each supported sensor following files are provided:
21
22 - xyz_reg.c: contains the function to read/write 'xyz' sensor registers
23 - xyz_reg.h: contains structures and defines to describe in details
24 the 'xyz' sensor registers.
25
26 The driver is platform-independent, you only need to define the two
27 functions for read and write transactions from the sensor hardware bus
28 (ie. SPI or I2C). In addition you may define a mdelay (milliseconds)
29 routine.
30
31 Define in your 'xyz' driver code the read and write functions that use the
32 I2C or SPI platform driver (plus the optional mdelay function) like the following:
33
34 /** Please note that is MANDATORY: return 0 -> no Error.**/
35 int platform_wr(void *handle, u8_t reg, const u8_t *bufp, u16_t len);
36 int platform_rd(void *handle, u8_t reg, u8_t *bufp, u16_t len);
37
38 /** Component optional fields **/
39 void platform_mdelay(u32_t millisec);
40
41
42 stmdev_ctx_t stmdev_ctx = {
43 .read_reg = (stmdev_read_ptr) platform_rd,
44 .write_reg = (stmdev_write_ptr) platform_wr,
45
46 /** Component optional fields **/
47 .mdelay = (stmdev_mdelay_ptr) platform_mdelay,
48 };
49
50 Driver versions in this package:
51
52 - a3g4250d_STdC v1.1.0
53 - ais25ba_STdC v1.1.0
54 - ais2dw12_STdC v1.1.0
55 - ais2ih_STdC v1.1.0
56 - ais328dq_STdC v1.1.0
57 - ais3624dq_STdC v1.1.0
58 - asm330lhb_STdC v1.0.0
59 - asm330lhh_STdC v2.1.0
60 - asm330lhhx_STdC v1.1.1
61 - h3lis100dl_STdC v1.1.0
62 - h3lis331dl_STdC v1.1.0
63 - hts221_STdC v1.1.0
64 - i3g4250d_STdC v1.1.0
65 - iis2dh_STdC v1.1.0
66 - iis2dlpc_STdC v1.1.0
67 - iis2iclx_STdC v1.1.0
68 - iis2mdc_STdC v1.1.0
69 - iis328dq_STdC v1.1.0
70 - iis3dhhc_STdC v1.1.0
71 - iis3dwb_STdC v1.1.1
72 - ilps22qs_STdC v2.1.1
73 - ilps28qsw_STdC v1.0.1
74 - ism303dac_STdC v1.1.0
75 - ism330dhcx_STdC v1.1.0
76 - ism330dlc_STdC v1.1.0
77 - ism330is_STdC v2.1.0
78 - l20g20is_STdC v1.1.0
79 - l3gd20h_STdC v1.1.0
80 - lis25ba_STdC v1.1.0
81 - lis2de12_STdC v1.1.0
82 - lis2dh12_STdC v1.1.0
83 - lis2dh_STdC v1.1.0
84 - lis2ds12_STdC v1.1.0
85 - lis2dtw12_STdC v1.1.0
86 - lis2du12_STdC v1.1.3
87 - lis2dux12_STdC v1.1.4
88 - lis2duxs12_STdC v1.1.5
89 - lis2dw12_STdC v1.1.0
90 - lis2hh12_STdC v1.1.0
91 - lis2mdl_STdC v1.1.0
92 - lis331dlh_STdC v1.1.0
93 - lis3de_STdC v1.1.0
94 - lis3dh_STdC v1.1.0
95 - lis3dhh_STdC v1.1.0
96 - lis3dsh_STdC v1.1.0
97 - lis3mdl_STdC v1.1.0
98 - lps22ch_STdC v1.1.0
99 - lps22df_STdC v1.1.0
100 - lps22hb_STdC v1.1.0
101 - lps22hh_STdC v1.1.0
102 - lps25hb_STdC v1.1.0
103 - lps27hhtw_STdC v1.1.0
104 - lps27hhw_STdC v1.1.0
105 - lps28dfw_STdC v1.1.0
106 - lps33hw_STdC v1.1.0
107 - lps33k_STdC v1.1.0
108 - lps33w_STdC v1.1.0
109 - lsm303agr_STdC v1.1.0
110 - lsm303ah_STdC v1.1.0
111 - lsm6ds3_STdC v1.1.1
112 - lsm6ds3tr-c_STdC v1.1.0
113 - lsm6dsl_STdC v1.1.0
114 - lsm6dsm_STdC v1.1.0
115 - lsm6dso16is_STdC v2.1.1
116 - lsm6dso32_STdC v1.1.0
117 - lsm6dso32x_STdC v1.1.0
118 - lsm6dso_STdC v2.1.0
119 - lsm6dsox_STdC v2.0.1
120 - lsm6dsr_STdC v1.1.0
121 - lsm6dsrx_STdC v1.1.0
122 - lsm6dsv16bx_STdC v2.1.2
123 - lsm6dsv16x_STdC v2.2.1
124 - lsm6dsv_STdC v1.2.1
125 - lsm9ds1_STdC v1.1.0
126 - sths34pf80_STdC v1.0.0
127 - stts22h_STdC v1.1.0
128 - stts751_STdC v1.1.0
129
130Dependencies:
131 None.
132
133URL:
134 https://www.st.com/en/embedded-software/c-driver-mems.html
135
136commit:
137 version v2.3
138
139Maintained-by:
140 ST Microelectronics
141
142License:
143 BSD-3-Clause
144
145License Link:
146 https://opensource.org/licenses/BSD-3-Clause
147
148Patch List:
149 * sensor: lsm6dso: Disable -Wmaybe-uninitialized for lsm6dso_mode_set
150 - Modified sensor/stmemsc/lsm6dso_STdC/driver/lsm6dso_reg.c
151