rotaryb2 2.1.0.0
rotaryb2_t Struct Reference

Rotary B 2 Click context object. More...

#include <rotaryb2.h>

Data Fields

digital_in_t enb
 
digital_in_t ena
 
digital_in_t sw
 
spi_master_t spi
 
pin_name_t chip_select
 

Detailed Description

Rotary B 2 Click context object.

Context object definition of Rotary B 2 Click driver.

Field Documentation

◆ chip_select

pin_name_t chip_select

Chip select pin descriptor (used for SPI driver).

◆ ena

digital_in_t ena

Rotary encoder A signal.

◆ enb

digital_in_t enb

Rotary encoder B signal.

◆ spi

spi_master_t spi

SPI driver object.

◆ sw

digital_in_t sw

Rotary encoder switch signal.


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