magaccel 2.1.0.0
magaccel_t Struct Reference

MagAccel Click context object. More...

#include <magaccel.h>

Data Fields

digital_in_t fld
 
digital_in_t mot
 
i2c_master_t i2c
 
uint8_t slave_address
 
float sensitivity
 

Detailed Description

MagAccel Click context object.

Context object definition of MagAccel Click driver.

Field Documentation

◆ fld

digital_in_t fld

Magnetic field detection pin.

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ mot

digital_in_t mot

Mode-dependent multifunction pin.

◆ sensitivity

float sensitivity

Nominal sensitivity resolution.

◆ slave_address

uint8_t slave_address

Device slave address (used for I2C driver).


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