usbcsink3 2.1.0.0
usbcsink3_s Struct Reference

USB-C Sink 3 Click context object. More...

#include <usbcsink3.h>

Data Fields

analog_in_t adc
 
float vref
 
i2c_master_t i2c
 
spi_master_t spi
 
uint8_t slave_address
 
pin_name_t chip_select
 

Detailed Description

USB-C Sink 3 Click context object.

Context object definition of USB-C Sink 3 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).

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ slave_address

uint8_t slave_address

Device slave address (used for I2C driver).

◆ spi

spi_master_t spi

SPI driver object.

◆ vref

float vref

ADC reference voltage.


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