accel30 2.1.0.0
accel30_s Struct Reference

Accel 30 Click context object. More...

#include <accel30.h>

Data Fields

digital_out_t rst
 
digital_in_t int_pin
 
i2c_master_t i2c
 
spi_master_t spi
 
uint8_t slave_address
 
pin_name_t chip_select
 
accel30_drv_t drv_sel
 
accel30_master_io_t write_f
 
accel30_master_io_t read_f
 
uint8_t range_cfg
 
uint8_t resolution_cfg
 

Detailed Description

Accel 30 Click context object.

Context object definition of Accel 30 Click driver.

Field Documentation

◆ chip_select

pin_name_t chip_select

Chip select pin descriptor (used for SPI driver).

◆ drv_sel

accel30_drv_t drv_sel

Master driver interface selector.

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ int_pin

digital_in_t int_pin

Interrupt pin.

◆ range_cfg

uint8_t range_cfg

Range configuration.

◆ read_f

Master read function.

◆ resolution_cfg

uint8_t resolution_cfg

Resolution configuration.

◆ rst

digital_out_t rst

Reset pin.

◆ slave_address

uint8_t slave_address

Device slave address (used for I2C driver).

◆ spi

spi_master_t spi

SPI driver object.

◆ write_f

Master write function.


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