accel20 2.0.0.0
accel20_s Struct Reference

Accel 20 Click context object. More...

#include <accel20.h>

Data Fields

digital_out_t trg
 
digital_in_t i2
 
digital_in_t i1
 
i2c_master_t i2c
 
spi_master_t spi
 
uint8_t slave_address
 
pin_name_t chip_select
 
accel20_drv_t drv_sel
 
accel20_master_io_t write_f
 
accel20_master_io_t read_f
 

Detailed Description

Accel 20 Click context object.

Context object definition of Accel 20 Click driver.

Field Documentation

◆ chip_select

pin_name_t chip_select

Chip select pin descriptor (used for SPI driver).

◆ drv_sel

accel20_drv_t drv_sel

Master driver interface selector.

◆ i1

digital_in_t i1

Interrupt 1 pin.

◆ i2

digital_in_t i2

Interrupt 2 pin.

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ read_f

Master read function.

◆ slave_address

uint8_t slave_address

Device slave address (used for I2C driver).

◆ spi

spi_master_t spi

SPI driver object.

◆ trg

digital_out_t trg

Trigger pin for FIFO buffer control.

◆ write_f

Master write function.


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