amrangle2 2.1.0.0
amrangle2_t Struct Reference

AMR Angle 2 Click context object. More...

#include <amrangle2.h>

Data Fields

digital_out_t cst
 
digital_in_t eoc
 
spi_master_t spi
 
analog_in_t adc
 
pin_name_t chip_select
 
float vcal
 

Detailed Description

AMR Angle 2 Click context object.

Context object definition of AMR Angle 2 Click driver.

Field Documentation

◆ adc

analog_in_t adc

ADC module object.

◆ chip_select

pin_name_t chip_select

Chip select pin descriptor (used for SPI driver).

◆ cst

digital_out_t cst

Active-Low Conversion Start pin.

◆ eoc

digital_in_t eoc

End of Conversion pin. Data is valid after EOC pulls low.

◆ spi

spi_master_t spi

SPI driver object.

◆ vcal

float vcal

Vcal for AMRANGLE2_TEMP_TCAL, calculate using amrangle2_calibrate_temperature function.


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