magaccel 2.1.0.0
magaccel_cfg_t Struct Reference

MagAccel Click configuration object. More...

#include <magaccel.h>

Data Fields

pin_name_t scl
 
pin_name_t sda
 
pin_name_t fld
 
pin_name_t mot
 
uint32_t i2c_speed
 
uint8_t i2c_address
 

Detailed Description

MagAccel Click configuration object.

Configuration object definition of MagAccel Click driver.

Field Documentation

◆ fld

pin_name_t fld

Magnetic field detection pin.

◆ i2c_address

uint8_t i2c_address

I2C slave address.

◆ i2c_speed

uint32_t i2c_speed

I2C serial speed.

◆ mot

pin_name_t mot

Mode-dependent multifunction pin.

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