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

..--

_resources/FIFO_decompression_utility/11-Mar-2024-1,074688

a3g4250d_STdC/driver/11-Mar-2024-2,6651,517

ais2dw12_STdC/driver/11-Mar-2024-3,5131,970

ais2ih_STdC/driver/11-Mar-2024-4,2922,415

ais328dq_STdC/driver/11-Mar-2024-3,1171,753

ais3624dq_STdC/driver/11-Mar-2024-3,1391,793

asm330lhh_STdC/driver/11-Mar-2024-6,4643,885

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

h3lis331dl_STdC/driver/11-Mar-2024-2,7501,576

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

i3g4250d_STdC/driver/11-Mar-2024-2,7731,597

iis2dh_STdC/driver/11-Mar-2024-3,6062,011

iis2dlpc_STdC/driver/11-Mar-2024-4,3572,479

iis2iclx_STdC/driver/11-Mar-2024-10,4016,980

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

iis328dq_STdC/driver/11-Mar-2024-3,0941,750

iis3dhhc_STdC/driver/11-Mar-2024-2,2391,178

iis3dwb_STdC/driver/11-Mar-2024-4,3402,528

ism303dac_STdC/driver/11-Mar-2024-5,1602,939

ism330dhcx_STdC/driver/11-Mar-2024-15,59410,584

ism330dlc_STdC/driver/11-Mar-2024-10,7396,928

l20g20is_STdC/driver/11-Mar-2024-1,9011,083

l3gd20h_STdC/driver/11-Mar-2024-3,1851,911

lis25ba_STdC/driver/11-Mar-2024-821433

lis2de12_STdC/driver/11-Mar-2024-3,5932,018

lis2dh12_STdC/driver/11-Mar-2024-3,8382,191

lis2ds12_STdC/driver/11-Mar-2024-5,0442,898

lis2dtw12_STdC/driver/11-Mar-2024-4,3502,470

lis2dw12_STdC/driver/11-Mar-2024-4,3452,463

lis2hh12_STdC/driver/11-Mar-2024-3,4772,097

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

lis331dlh_STdC/driver/11-Mar-2024-3,1451,793

lis3de_STdC/driver/11-Mar-2024-3,5461,944

lis3dh_STdC/driver/11-Mar-2024-3,7922,118

lis3dhh_STdC/driver/11-Mar-2024-2,0881,051

lis3dsh_STdC/driver/11-Mar-2024-1,7751,207

lis3mdl_STdC/driver/11-Mar-2024-2,1311,128

lps22ch_STdC/driver/11-Mar-2024-2,7501,458

lps22hb_STdC/driver/11-Mar-2024-2,7191,403

lps22hh_STdC/driver/11-Mar-2024-2,7551,462

lps25hb_STdC/driver/11-Mar-2024-2,6291,369

lps27hhtw_STdC/driver/11-Mar-2024-2,8211,526

lps27hhw_STdC/driver/11-Mar-2024-2,7871,492

lps33hw_STdC/driver/11-Mar-2024-2,7161,403

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

lps33w_STdC/driver/11-Mar-2024-2,7011,389

lsm303agr_STdC/driver/11-Mar-2024-5,2473,023

lsm303ah_STdC/driver/11-Mar-2024-6,0393,451

lsm6ds3_STdC/driver/11-Mar-2024-9,3335,751

lsm6ds3tr-c_STdC/driver/11-Mar-2024-11,0067,026

lsm6dsl_STdC/driver/11-Mar-2024-10,6876,707

lsm6dsm_STdC/driver/11-Mar-2024-12,0657,496

lsm6dso32_STdC/driver/11-Mar-2024-13,6128,934

lsm6dso32x_STdC/driver/11-Mar-2024-16,67311,395

lsm6dso_STdC/driver/11-Mar-2024-17,59111,800

lsm6dsox_STdC/driver/11-Mar-2024-19,33313,098

lsm6dsr_STdC/driver/11-Mar-2024-15,69510,255

lsm6dsrx_STdC/driver/11-Mar-2024-16,23510,702

lsm9ds1_STdC/driver/11-Mar-2024-6,3954,070

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

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

CMakeLists.txtD11-Mar-20241.1 KiB8178

LICENSED11-Mar-20241.5 KiB3023

READMED11-Mar-20241.7 KiB5943

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.00
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).
29
30   Define in your 'xyz' driver code the read and write functions that use the
31   I2C or SPI platform driver like the following:
32
33   /** Please note that is MANDATORY: return 0 -> no Error.**/
34   int platform_wr(void *handle, u8_t reg, const u8_t *bufp, u16_t len);
35   int platform_rd(void *handle, u8_t reg, u8_t *bufp, u16_t len);
36
37   stmdev_ctx_t stmdev_ctx = {
38       .read_reg = (stmdev_read_ptr) platform_rd,
39       .write_reg = (stmdev_write_ptr) platform_wr,
40   };
41
42Dependencies:
43    None.
44
45URL:
46   https://www.st.com/en/embedded-software/c-driver-mems.html
47
48commit:
49   version v2.00
50
51Maintained-by:
52   ST Microelectronics
53
54License:
55   BSD-3-Clause
56
57License Link:
58   https://opensource.org/licenses/BSD-3-Clause
59