|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| _resources/FIFO_Utility_Tool/ | | 11-Mar-2024 | - | 1,226 | 847 |
| a3g4250d_STdC/driver/ | | 11-Mar-2024 | - | 2,681 | 1,522 |
| ais25ba_STdC/driver/ | | 11-Mar-2024 | - | 818 | 420 |
| ais2dw12_STdC/driver/ | | 11-Mar-2024 | - | 3,529 | 1,975 |
| ais2ih_STdC/driver/ | | 11-Mar-2024 | - | 4,308 | 2,420 |
| ais328dq_STdC/driver/ | | 11-Mar-2024 | - | 3,133 | 1,758 |
| ais3624dq_STdC/driver/ | | 11-Mar-2024 | - | 3,155 | 1,798 |
| asm330lhb_STdC/driver/ | | 11-Mar-2024 | - | 9,305 | 6,478 |
| asm330lhh_STdC/driver/ | | 11-Mar-2024 | - | 6,435 | 3,848 |
| asm330lhhx_STdC/driver/ | | 11-Mar-2024 | - | 11,919 | 8,501 |
| h3lis100dl_STdC/driver/ | | 11-Mar-2024 | - | 2,538 | 1,429 |
| h3lis331dl_STdC/driver/ | | 11-Mar-2024 | - | 2,766 | 1,581 |
| hts221_STdC/driver/ | | 11-Mar-2024 | - | 1,484 | 748 |
| i3g4250d_STdC/driver/ | | 11-Mar-2024 | - | 2,789 | 1,602 |
| iis2dh_STdC/driver/ | | 11-Mar-2024 | - | 3,622 | 2,016 |
| iis2dlpc_STdC/driver/ | | 11-Mar-2024 | - | 4,373 | 2,484 |
| iis2iclx_STdC/driver/ | | 11-Mar-2024 | - | 10,417 | 6,985 |
| iis2mdc_STdC/driver/ | | 11-Mar-2024 | - | 1,786 | 915 |
| iis328dq_STdC/driver/ | | 11-Mar-2024 | - | 3,110 | 1,755 |
| iis3dhhc_STdC/driver/ | | 11-Mar-2024 | - | 2,255 | 1,183 |
| iis3dwb_STdC/driver/ | | 11-Mar-2024 | - | 4,170 | 2,397 |
| ilps22qs_STdC/driver/ | | 11-Mar-2024 | - | 1,980 | 1,264 |
| ilps28qsw_STdC/driver/ | | 11-Mar-2024 | - | 1,944 | 1,229 |
| ism303dac_STdC/driver/ | | 11-Mar-2024 | - | 5,176 | 2,944 |
| ism330dhcx_STdC/driver/ | | 11-Mar-2024 | - | 15,610 | 10,590 |
| ism330dlc_STdC/driver/ | | 11-Mar-2024 | - | 10,755 | 6,933 |
| ism330is_STdC/driver/ | | 11-Mar-2024 | - | 6,589 | 4,572 |
| l20g20is_STdC/driver/ | | 11-Mar-2024 | - | 1,917 | 1,088 |
| l3gd20h_STdC/driver/ | | 11-Mar-2024 | - | 3,201 | 1,916 |
| lis25ba_STdC/driver/ | | 11-Mar-2024 | - | 837 | 438 |
| lis2de12_STdC/driver/ | | 11-Mar-2024 | - | 3,609 | 2,023 |
| lis2dh12_STdC/driver/ | | 11-Mar-2024 | - | 3,854 | 2,196 |
| lis2dh_STdC/driver/ | | 11-Mar-2024 | - | 3,712 | 2,101 |
| lis2ds12_STdC/driver/ | | 11-Mar-2024 | - | 5,060 | 2,903 |
| lis2dtw12_STdC/driver/ | | 11-Mar-2024 | - | 4,366 | 2,475 |
| lis2du12_STdC/driver/ | | 11-Mar-2024 | - | 2,681 | 1,831 |
| lis2dux12_STdC/driver/ | | 11-Mar-2024 | - | 6,155 | 4,313 |
| lis2duxs12_STdC/driver/ | | 11-Mar-2024 | - | 6,343 | 4,453 |
| lis2dw12_STdC/driver/ | | 11-Mar-2024 | - | 4,361 | 2,468 |
| lis2hh12_STdC/driver/ | | 11-Mar-2024 | - | 3,501 | 2,109 |
| lis2mdl_STdC/driver/ | | 11-Mar-2024 | - | 1,863 | 954 |
| lis331dlh_STdC/driver/ | | 11-Mar-2024 | - | 3,161 | 1,798 |
| lis3de_STdC/driver/ | | 11-Mar-2024 | - | 3,562 | 1,949 |
| lis3dh_STdC/driver/ | | 11-Mar-2024 | - | 3,808 | 2,123 |
| lis3dhh_STdC/driver/ | | 11-Mar-2024 | - | 2,104 | 1,056 |
| lis3dsh_STdC/driver/ | | 11-Mar-2024 | - | 1,791 | 1,212 |
| lis3mdl_STdC/driver/ | | 11-Mar-2024 | - | 2,147 | 1,133 |
| lps22ch_STdC/driver/ | | 11-Mar-2024 | - | 2,766 | 1,463 |
| lps22df_STdC/driver/ | | 11-Mar-2024 | - | 1,912 | 1,233 |
| lps22hb_STdC/driver/ | | 11-Mar-2024 | - | 2,735 | 1,408 |
| lps22hh_STdC/driver/ | | 11-Mar-2024 | - | 2,650 | 1,418 |
| lps25hb_STdC/driver/ | | 11-Mar-2024 | - | 2,645 | 1,374 |
| lps27hhtw_STdC/driver/ | | 11-Mar-2024 | - | 2,837 | 1,531 |
| lps27hhw_STdC/driver/ | | 11-Mar-2024 | - | 2,803 | 1,497 |
| lps28dfw_STdC/driver/ | | 11-Mar-2024 | - | 1,973 | 1,274 |
| lps33hw_STdC/driver/ | | 11-Mar-2024 | - | 2,732 | 1,408 |
| lps33k_STdC/driver/ | | 11-Mar-2024 | - | 1,132 | 514 |
| lps33w_STdC/driver/ | | 11-Mar-2024 | - | 2,717 | 1,394 |
| lsm303agr_STdC/driver/ | | 11-Mar-2024 | - | 5,263 | 3,028 |
| lsm303ah_STdC/driver/ | | 11-Mar-2024 | - | 6,055 | 3,456 |
| lsm6ds3_STdC/driver/ | | 11-Mar-2024 | - | 9,349 | 5,756 |
| lsm6ds3tr-c_STdC/driver/ | | 11-Mar-2024 | - | 11,022 | 7,031 |
| lsm6dsl_STdC/driver/ | | 11-Mar-2024 | - | 10,703 | 6,712 |
| lsm6dsm_STdC/driver/ | | 11-Mar-2024 | - | 12,081 | 7,501 |
| lsm6dso16is_STdC/driver/ | | 11-Mar-2024 | - | 6,629 | 4,612 |
| lsm6dso32_STdC/driver/ | | 11-Mar-2024 | - | 13,632 | 8,942 |
| lsm6dso32x_STdC/driver/ | | 11-Mar-2024 | - | 16,677 | 11,388 |
| lsm6dso_STdC/driver/ | | 11-Mar-2024 | - | 17,648 | 11,826 |
| lsm6dsox_STdC/driver/ | | 11-Mar-2024 | - | 19,347 | 13,101 |
| lsm6dsr_STdC/driver/ | | 11-Mar-2024 | - | 15,711 | 10,260 |
| lsm6dsrx_STdC/driver/ | | 11-Mar-2024 | - | 16,251 | 10,707 |
| lsm6dsv16bx_STdC/driver/ | | 11-Mar-2024 | - | 12,236 | 8,344 |
| lsm6dsv16x_STdC/driver/ | | 11-Mar-2024 | - | 15,432 | 10,564 |
| lsm6dsv_STdC/driver/ | | 11-Mar-2024 | - | 13,538 | 9,176 |
| lsm9ds1_STdC/driver/ | | 11-Mar-2024 | - | 6,411 | 4,075 |
| stts22h_STdC/driver/ | | 11-Mar-2024 | - | 1,031 | 493 |
| stts751_STdC/driver/ | | 11-Mar-2024 | - | 1,143 | 531 |
| CMakeLists.txt | D | 11-Mar-2024 | 1.3 KiB | 97 | 94 |
| LICENSE | D | 11-Mar-2024 | 1.5 KiB | 30 | 23 |
| README | D | 11-Mar-2024 | 2.1 KiB | 71 | 51 |
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.02
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
50Dependencies:
51 None.
52
53URL:
54 https://www.st.com/en/embedded-software/c-driver-mems.html
55
56commit:
57 version v2.02
58
59Maintained-by:
60 ST Microelectronics
61
62License:
63 BSD-3-Clause
64
65License Link:
66 https://opensource.org/licenses/BSD-3-Clause
67
68Patch List:
69 * sensor: lsm6dso: Disable -Wmaybe-uninitialized for lsm6dso_mode_set
70 - Modified sensor/stmemsc/lsm6dso_STdC/driver/lsm6dso_reg.c
71