digiisolator 2.1.0.0
digiisolator_cfg_t Struct Reference

DIGI Isolator Click configuration object. More...

#include <digiisolator.h>

Data Fields

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 d1
 
pin_name_t d2
 
uint32_t spi_speed
 
spi_master_mode_t spi_mode
 
spi_master_chip_select_polarity_t cs_polarity
 
uint32_t baud_rate
 
bool uart_blocking
 
uart_data_bits_t data_bit
 
uart_parity_t parity_bit
 
uart_stop_bits_t stop_bit
 
analog_in_resolution_t resolution
 
float vref
 

Detailed Description

DIGI Isolator Click configuration object.

Configuration object definition of DIGI Isolator Click driver.

Field Documentation

◆ baud_rate

uint32_t baud_rate

Clock speed.

◆ cs

pin_name_t cs

Chip select pin descriptor for SPI driver.

◆ cs_polarity

spi_master_chip_select_polarity_t cs_polarity

Chip select pin polarity.

◆ d1

pin_name_t d1

D1 pin.

◆ d2

pin_name_t d2

D2 pin.

◆ data_bit

uart_data_bits_t data_bit

Data bits.

◆ miso

pin_name_t miso

Master input - slave output pin descriptor for SPI driver.

◆ mosi

pin_name_t mosi

Master output - slave input pin descriptor for SPI driver.

◆ parity_bit

uart_parity_t parity_bit

Parity bit.

◆ resolution

analog_in_resolution_t resolution

ADC resolution.

◆ rx_pin

pin_name_t rx_pin

RX pin.

◆ sck

pin_name_t sck

Clock pin descriptor for SPI driver.

◆ spi_mode

spi_master_mode_t spi_mode

SPI master mode.

◆ spi_speed

uint32_t spi_speed

SPI serial speed.

◆ stop_bit

uart_stop_bits_t stop_bit

Stop bits.

◆ tx_pin

pin_name_t tx_pin

TX pin.

◆ uart_blocking

bool uart_blocking

Wait for interrupt or not.

◆ vref

float vref

ADC reference voltage.


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