usbcsink2 2.1.0.0
usbcsink2_t Struct Reference

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

#include <usbcsink2.h>

Data Fields

digital_in_t int_pin
 
analog_in_t adc
 
i2c_master_t i2c
 
uint8_t slave_address
 
float vref
 
uint8_t number_of_valid_pdo
 
uint8_t pdo_data [28]
 

Detailed Description

USB-C Sink 2 Click context object.

Context object definition of USB-C Sink 2 Click driver.

Field Documentation

◆ adc

analog_in_t adc

ADC module object.

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ int_pin

digital_in_t int_pin

Interrupt pin.

◆ number_of_valid_pdo

uint8_t number_of_valid_pdo

Total number of valid PDOs.

◆ pdo_data

uint8_t pdo_data[28]

Power Data Object data.

◆ slave_address

uint8_t slave_address

Device slave address (used for I2C driver).

◆ vref

float vref

ADC reference voltage.


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