magneticrotary2 2.0.0.0
magneticrotary2_t Struct Reference

Magnetic Rotary 2 Click context object. More...

#include <magneticrotary2.h>

Data Fields

digital_out_t ssi_sel
 
spi_master_t spi
 
pin_name_t chip_select
 
magneticrotary2_msel_t msel
 
uint8_t abs_res
 

Detailed Description

Magnetic Rotary 2 Click context object.

Context object definition of Magnetic Rotary 2 Click driver.

Field Documentation

◆ abs_res

uint8_t abs_res

Absolute position resolution.

◆ chip_select

pin_name_t chip_select

Chip select pin descriptor (used for SPI driver).

◆ msel

MSEL selector.

◆ spi

spi_master_t spi

SPI driver object.

◆ ssi_sel

digital_out_t ssi_sel

MOSI as SSI sel pin.


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