accel15 2.0.0.0
accel15_s Struct Reference

Accel 15 Click context object. More...

#include <accel15.h>

Data Fields

digital_in_t in2
 
digital_in_t in1
 
i2c_master_t i2c
 
spi_master_t spi
 
uint8_t slave_address
 
pin_name_t chip_select
 
accel15_drv_t drv_sel
 
accel15_master_io_t write_f
 
accel15_master_io_t read_f
 

Detailed Description

Accel 15 Click context object.

Context object definition of Accel 15 Click driver.

Field Documentation

◆ chip_select

pin_name_t chip_select

Chip select pin descriptor (used for SPI driver).

◆ drv_sel

accel15_drv_t drv_sel

Master driver interface selector.

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ in1

digital_in_t in1

Interrupt output 1.

◆ in2

digital_in_t in2

Interrupt output 2.

◆ 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.

◆ write_f

Master write function.


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