accelpressure 2.1.0.0
accelpressure_t Struct Reference

AccelPressure Click context object. More...

#include <accelpressure.h>

Data Fields

digital_out_t cs
 
digital_out_t pwm
 
digital_in_t an
 
digital_in_t mot
 
i2c_master_t i2c
 
uint8_t slave_address
 
float sensitivity
 

Detailed Description

AccelPressure Click context object.

Context object definition of AccelPressure Click driver.

Field Documentation

◆ an

digital_in_t an

Hibernate mode pin.

◆ cs

digital_out_t cs

SPI chip select pin.

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ mot

digital_in_t mot

Motion detect pin.

◆ pwm

digital_out_t pwm

Wakeup pin.

◆ sensitivity

float sensitivity

Nominal sensitivity resolution.

◆ slave_address

uint8_t slave_address

Device slave address (used for I2C driver).


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