adapter 2.0.0.0
adapter_cfg_t Struct Reference

Click configuration structure definition. More...

#include <adapter.h>

Data Fields

pin_name_t scl
 
pin_name_t sda
 
pin_name_t miso
 
pin_name_t mosi
 
pin_name_t sck
 
pin_name_t cs
 
pin_name_t rx_pin
 
pin_name_t tx_pin
 
pin_name_t pwm
 
pin_name_t int_pin
 
uint32_t i2c_speed
 
uint8_t i2c_address
 
uint32_t spi_speed
 
spi_master_mode_t spi_mode
 
spi_master_chip_select_polarity_t cs_polarity
 
adapter_select_t sel
 

Detailed Description

Click configuration structure definition.

Field Documentation

◆ cs

pin_name_t cs

◆ cs_polarity

spi_master_chip_select_polarity_t cs_polarity

◆ i2c_address

uint8_t i2c_address

◆ i2c_speed

uint32_t i2c_speed

◆ int_pin

pin_name_t int_pin

◆ miso

pin_name_t miso

◆ mosi

pin_name_t mosi

◆ pwm

pin_name_t pwm

◆ rx_pin

pin_name_t rx_pin

◆ sck

pin_name_t sck

◆ scl

pin_name_t scl

◆ sda

pin_name_t sda

◆ sel

◆ spi_mode

spi_master_mode_t spi_mode

◆ spi_speed

uint32_t spi_speed

◆ tx_pin

pin_name_t tx_pin

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