Index
=======
* Introduction
* Integration details
* Required properties
* Copyright
Introduction
==============
This repository contains platform-independent drivers and examples for STMicroelectronics MEMS sensors. The sensors drivers and examples are listed by product. Every product folder contains:
### 'driver' folder
This folder contains the driver files of Mems Sensor (.h and .c) to be included in your project.
Driver documentation can be generated using Doxigen tool.
### 'examples' folder:
This folder contains examples showing how to integrate the Standard C driver in a project. They are written for STM32 Microcontroller using CubeMX API, but they can be used as a guideline for every platform.
Integration details
=====================
The driver is platform-independent, you only need to define the two functions for writing to and reading from Mems hardware bus (SPI or I2C).
### Source code integration
> * Include in your project the driver files of Mems Sensor (.h and .c) located in the 'driver' folder of the desider product
> * Define in your code the read and write functions that use the I2C or SPI platform driver like the following:
> int32_t platform_write(void *handle, uint8_t Reg, uint8_t *Bufp, uint16_t len)
> int32_t platform_read(void *handle, uint8_t Reg, uint8_t *Bufp, uint16_t len)
> * Initialize the structure of device interface:
> dev_ctx.write_reg = platform_write;
> dev_ctx.read_reg = platform_read;
> * If needed by the platform read and write functions, initialize the handle parameter:
> dev_ctx.handle = &platform_handle;
>
### Required properties
> * A standard C compiler for the desired target
> * A C library for the desired target and the desired interface (SPI, I2C)
More Information
=================
[http://st.com](http://st.com/MEMS)
Copyright
===========
Copyright (C) 2018 STMicroelectronics
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
STMems_Standard_C_drivers-master (104个子文件)
lsm6dsl_reg.c 178KB
lsm6dsm_reg.c 177KB
ism330dlc_reg.c 165KB
lsm303ah_reg.c 97KB
lsm303agr_reg.c 84KB
ism303dac_reg.c 82KB
lis2ds12_reg.c 76KB
lis2dh12_reg.c 67KB
lis2dw12_reg.c 65KB
lis3de_reg.c 63KB
ais3624dq_reg.c 51KB
lis331dlh_reg.c 51KB
ais328dq_reg.c 51KB
iis328dq_reg.c 51KB
h3lis331dl_reg.c 46KB
lps22hb_reg.c 43KB
lps33hw_reg.c 43KB
lps25hb_reg.c 40KB
lps22hh_reg.c 37KB
a3g4250d_reg.c 35KB
lis3dhh_reg.c 35KB
iis3dhhc_reg.c 35KB
lis3mdl_reg.c 30KB
iis2mdc_reg.c 27KB
lis2mdl_reg.c 27KB
hts221_reg.c 20KB
read_data_simple.c 10KB
read_data_simple.c 9KB
read_data_simple.c 9KB
read_data_simple.c 9KB
read_data_simple.c 9KB
read_data_simple.c 8KB
read_data_simple.c 8KB
read_data_simple.c 8KB
read_data_simple.c 8KB
read_data_simple.c 8KB
read_data_simple.c 8KB
read_data_simple.c 8KB
read_data_simple.c 8KB
read_data_simple.c 8KB
read_data_simple.c 8KB
read_data_simple.c 8KB
read_data_simple.c 8KB
read_data_simple.c 8KB
read_data_simple.c 8KB
read_data_simple.c 7KB
read_data_simple.c 7KB
read_data_simple.c 7KB
read_data_simple.c 7KB
read_data_simple.c 7KB
read_data_simple.c 7KB
lsm6dsm_reg.h 73KB
ism330dlc_reg.h 73KB
lsm6dsl_reg.h 69KB
lsm303agr_reg.h 35KB
lsm303ah_reg.h 35KB
ism303dac_reg.h 32KB
lis2ds12_reg.h 30KB
lis2dh12_reg.h 27KB
lis2dw12_reg.h 27KB
lis3de_reg.h 24KB
ais3624dq_reg.h 22KB
lis331dlh_reg.h 22KB
ais328dq_reg.h 21KB
iis328dq_reg.h 21KB
h3lis331dl_reg.h 20KB
a3g4250d_reg.h 18KB
lps22hh_reg.h 16KB
lps22hb_reg.h 14KB
lps33hw_reg.h 14KB
lps25hb_reg.h 14KB
lis3mdl_reg.h 13KB
lis3dhh_reg.h 12KB
iis3dhhc_reg.h 12KB
iis2mdc_reg.h 12KB
lis2mdl_reg.h 12KB
hts221_reg.h 9KB
README.md 2KB
README.txt 558B
README.txt 557B
README.txt 557B
README.txt 557B
README.txt 557B
README.txt 557B
README.txt 556B
README.txt 556B
README.txt 556B
README.txt 556B
README.txt 556B
README.txt 556B
README.txt 556B
README.txt 556B
README.txt 556B
README.txt 556B
README.txt 556B
README.txt 555B
README.txt 555B
README.txt 555B
README.txt 555B
README.txt 555B
共 104 条
- 1
- 2
资源评论
- kandy2502018-10-26先下载了再说,看看
忽如一夜
- 粉丝: 8
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功