pot4 2.1.0.0
pot4_t Struct Reference

POT 4 Click context object. More...

#include <pot4.h>

Data Fields

digital_in_t sw
 
analog_in_t adc
 
i2c_master_t i2c
 
uint8_t slave_address
 
pin_name_t chip_select
 
float vref
 
pot4_drv_t drv_sel
 

Detailed Description

POT 4 Click context object.

Context object definition of POT 4 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).

◆ drv_sel

pot4_drv_t drv_sel

Master driver interface selector.

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ slave_address

uint8_t slave_address

Device slave address (used for I2C driver).

◆ sw

digital_in_t sw

Switch pin.

◆ vref

float vref

ADC reference voltage.


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