• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

_resources/FIFO_Utility_Tool/11-Mar-2024-1,226847

a3g4250d_STdC/driver/11-Mar-2024-2,6811,522

ais25ba_STdC/driver/11-Mar-2024-818420

ais2dw12_STdC/driver/11-Mar-2024-3,5291,975

ais2ih_STdC/driver/11-Mar-2024-4,3082,420

ais328dq_STdC/driver/11-Mar-2024-3,1331,758

ais3624dq_STdC/driver/11-Mar-2024-3,1551,798

asm330lhb_STdC/driver/11-Mar-2024-9,3056,478

asm330lhh_STdC/driver/11-Mar-2024-6,4353,848

asm330lhhx_STdC/driver/11-Mar-2024-11,9198,501

h3lis100dl_STdC/driver/11-Mar-2024-2,5381,429

h3lis331dl_STdC/driver/11-Mar-2024-2,7661,581

hts221_STdC/driver/11-Mar-2024-1,484748

i3g4250d_STdC/driver/11-Mar-2024-2,7891,602

iis2dh_STdC/driver/11-Mar-2024-3,6222,016

iis2dlpc_STdC/driver/11-Mar-2024-4,3732,484

iis2iclx_STdC/driver/11-Mar-2024-10,4176,985

iis2mdc_STdC/driver/11-Mar-2024-1,786915

iis328dq_STdC/driver/11-Mar-2024-3,1101,755

iis3dhhc_STdC/driver/11-Mar-2024-2,2551,183

iis3dwb_STdC/driver/11-Mar-2024-4,1702,397

ilps22qs_STdC/driver/11-Mar-2024-1,9801,264

ilps28qsw_STdC/driver/11-Mar-2024-1,9441,229

ism303dac_STdC/driver/11-Mar-2024-5,1762,944

ism330dhcx_STdC/driver/11-Mar-2024-15,61010,590

ism330dlc_STdC/driver/11-Mar-2024-10,7556,933

ism330is_STdC/driver/11-Mar-2024-6,5894,572

l20g20is_STdC/driver/11-Mar-2024-1,9171,088

l3gd20h_STdC/driver/11-Mar-2024-3,2011,916

lis25ba_STdC/driver/11-Mar-2024-837438

lis2de12_STdC/driver/11-Mar-2024-3,6092,023

lis2dh12_STdC/driver/11-Mar-2024-3,8542,196

lis2dh_STdC/driver/11-Mar-2024-3,7122,101

lis2ds12_STdC/driver/11-Mar-2024-5,0602,903

lis2dtw12_STdC/driver/11-Mar-2024-4,3662,475

lis2du12_STdC/driver/11-Mar-2024-2,6811,831

lis2dux12_STdC/driver/11-Mar-2024-6,1554,313

lis2duxs12_STdC/driver/11-Mar-2024-6,3434,453

lis2dw12_STdC/driver/11-Mar-2024-4,3612,468

lis2hh12_STdC/driver/11-Mar-2024-3,5012,109

lis2mdl_STdC/driver/11-Mar-2024-1,863954

lis331dlh_STdC/driver/11-Mar-2024-3,1611,798

lis3de_STdC/driver/11-Mar-2024-3,5621,949

lis3dh_STdC/driver/11-Mar-2024-3,8082,123

lis3dhh_STdC/driver/11-Mar-2024-2,1041,056

lis3dsh_STdC/driver/11-Mar-2024-1,7911,212

lis3mdl_STdC/driver/11-Mar-2024-2,1471,133

lps22ch_STdC/driver/11-Mar-2024-2,7661,463

lps22df_STdC/driver/11-Mar-2024-1,9121,233

lps22hb_STdC/driver/11-Mar-2024-2,7351,408

lps22hh_STdC/driver/11-Mar-2024-2,6501,418

lps25hb_STdC/driver/11-Mar-2024-2,6451,374

lps27hhtw_STdC/driver/11-Mar-2024-2,8371,531

lps27hhw_STdC/driver/11-Mar-2024-2,8031,497

lps28dfw_STdC/driver/11-Mar-2024-1,9731,274

lps33hw_STdC/driver/11-Mar-2024-2,7321,408

lps33k_STdC/driver/11-Mar-2024-1,132514

lps33w_STdC/driver/11-Mar-2024-2,7171,394

lsm303agr_STdC/driver/11-Mar-2024-5,2633,028

lsm303ah_STdC/driver/11-Mar-2024-6,0553,456

lsm6ds3_STdC/driver/11-Mar-2024-9,3495,756

lsm6ds3tr-c_STdC/driver/11-Mar-2024-11,0227,031

lsm6dsl_STdC/driver/11-Mar-2024-10,7036,712

lsm6dsm_STdC/driver/11-Mar-2024-12,0817,501

lsm6dso16is_STdC/driver/11-Mar-2024-6,6294,612

lsm6dso32_STdC/driver/11-Mar-2024-13,6328,942

lsm6dso32x_STdC/driver/11-Mar-2024-16,67711,388

lsm6dso_STdC/driver/11-Mar-2024-17,64811,826

lsm6dsox_STdC/driver/11-Mar-2024-19,34713,101

lsm6dsr_STdC/driver/11-Mar-2024-15,71110,260

lsm6dsrx_STdC/driver/11-Mar-2024-16,25110,707

lsm6dsv16bx_STdC/driver/11-Mar-2024-12,2368,344

lsm6dsv16x_STdC/driver/11-Mar-2024-15,43210,564

lsm6dsv_STdC/driver/11-Mar-2024-13,5389,176

lsm9ds1_STdC/driver/11-Mar-2024-6,4114,075

stts22h_STdC/driver/11-Mar-2024-1,031493

stts751_STdC/driver/11-Mar-2024-1,143531

CMakeLists.txtD11-Mar-20241.3 KiB9794

LICENSED11-Mar-20241.5 KiB3023

READMED11-Mar-20242.1 KiB7151

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