magneticrotary5 2.1.0.0
magneticrotary5_cfg_t Struct Reference

Magnetic Rotary 5 Click configuration object. More...

#include <magneticrotary5.h>

Data Fields

pin_name_t ddclk
 
pin_name_t cs
 
pin_name_t dio
 
pin_name_t an
 
analog_in_resolution_t resolution
 
float vref
 

Detailed Description

Magnetic Rotary 5 Click configuration object.

Configuration object definition of Magnetic Rotary 5 Click driver.

Field Documentation

◆ an

pin_name_t an

Analog input pin.

◆ cs

pin_name_t cs

Chip select input for 3-wire mode.

◆ ddclk

pin_name_t ddclk

Clock input for serial interface.

◆ dio

pin_name_t dio

Data I/O pin for serial interface.

◆ resolution

analog_in_resolution_t resolution

ADC resolution.

◆ vref

float vref

ADC reference voltage.


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