accel24 2.1.0.0
accel24_cfg_t Struct Reference

Accel 24 Click configuration object. More...

#include <accel24.h>

Data Fields

pin_name_t scl
 
pin_name_t sda
 
pin_name_t int_pin
 
uint32_t i2c_speed
 
uint8_t i2c_address
 

Detailed Description

Accel 24 Click configuration object.

Configuration object definition of Accel 24 Click driver.

Field Documentation

◆ i2c_address

uint8_t i2c_address

I2C slave address.

◆ i2c_speed

uint32_t i2c_speed

I2C serial speed.

◆ int_pin

pin_name_t int_pin

Interrupt pin. Reflects the state of the INT bit in the STATUS register.

◆ scl

pin_name_t scl

Clock pin descriptor for I2C driver.

◆ sda

pin_name_t sda

Bidirectional data pin descriptor for I2C driver.


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