Loading...
Searching...
No Matches

Configuration parameters. More...

Detailed Description

Configuration parameters.

Definition at line 145 of file qma6100p.h.

#include <qma6100p.h>

Data Fields

i2c_t i2c
 I2C bus the device is connected to.
 
uint8_t addr
 I2C address (QMA6100P_I2C_ADDR_LOW or _HIGH)
 
gpio_t int1_pin
 MCU GPIO connected to the QMA6100P INT1 pin (GPIO_UNDEF if unused)
 
gpio_t int2_pin
 MCU GPIO connected to the QMA6100P INT2 pin (GPIO_UNDEF if unused)
 
qma6100p_odr_t rate
 output data rate
 
qma6100p_range_t range
 full-scale range
 
qma6100p_mclk_t mclk
 master clock
 
qma6100p_int_shadow_t interrupt_shadow
 acceleration data shadow mode
 

Field Documentation

◆ addr

uint8_t qma6100p_params_t::addr

I2C address (QMA6100P_I2C_ADDR_LOW or _HIGH)

Definition at line 147 of file qma6100p.h.

◆ i2c

i2c_t qma6100p_params_t::i2c

I2C bus the device is connected to.

Definition at line 146 of file qma6100p.h.

◆ int1_pin

gpio_t qma6100p_params_t::int1_pin

MCU GPIO connected to the QMA6100P INT1 pin (GPIO_UNDEF if unused)

Definition at line 149 of file qma6100p.h.

◆ int2_pin

gpio_t qma6100p_params_t::int2_pin

MCU GPIO connected to the QMA6100P INT2 pin (GPIO_UNDEF if unused)

Definition at line 151 of file qma6100p.h.

◆ interrupt_shadow

qma6100p_int_shadow_t qma6100p_params_t::interrupt_shadow

acceleration data shadow mode

Definition at line 155 of file qma6100p.h.

◆ mclk

qma6100p_mclk_t qma6100p_params_t::mclk

master clock

Definition at line 154 of file qma6100p.h.

◆ range

qma6100p_range_t qma6100p_params_t::range

full-scale range

Definition at line 153 of file qma6100p.h.

◆ rate

qma6100p_odr_t qma6100p_params_t::rate

output data rate

Definition at line 152 of file qma6100p.h.


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