XDK API  3.6.0
Data Fields
bma2x2_t Struct Reference

bma2x2 initialization struct struct bma2x2_t is used for assigning the following parameters. More...

#include <SDK/xdk110/Libraries/BSTLib/3rd-party/bstlib/BMA2x2_driver/bma2x2.h>

Data Fields

u8 chip_id
u8 ctrl_mode_reg
void(* delay_msec )(BMA2x2_MDELAY_DATA_TYPE)
u8 dev_addr
u8 fifo_config
u8 low_mode_reg
u8 power_mode_u8

Detailed Description

Bus write function pointer: BMA2x2_WR_FUNC_PTR Bus read function pointer: BMA2x2_RD_FUNC_PTR Burst read function pointer: BMA2x2_BRD_FUNC_PTR Delay function pointer: delay_msec

I2C address: dev_addr Chip id of the sensor: chip_id

Field Documentation


function pointer to the SPI/I2C burst read function


function pointer to the SPI/I2C read function


function pointer to the SPI/I2C write function

u8 chip_id

chip_id of bma2x2

u8 ctrl_mode_reg

the value of power mode register 0x11

void(* delay_msec)(BMA2x2_MDELAY_DATA_TYPE)

function pointer to a pause in mili seconds function

u8 dev_addr

initializes bma2x2's I2C device address

u8 fifo_config

store the fifo configuration register

u8 low_mode_reg

the value of power mode register 0x12

u8 power_mode_u8

save current bma2x2 operation mode

The documentation for this struct was generated from the following file:

All rights reserved. The use is subject to the XDK SDK EULA by Bosch Connected Devices and Solutions GmbH.
This documentation file has been automatically generated on Thu Mar 14 2019 19:12:56 by doxygen 1.8.8