rfid 2.0.0.0
rfid_cfg_t Struct Reference

RFID Click configuration object. More...

#include <rfid.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 ssi_1
 
pin_name_t ssi_0
 
pin_name_t irq_in
 
pin_name_t irq_out
 
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
 

Detailed Description

RFID Click configuration object.

Configuration object definition of RFID 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.

◆ data_bit

uart_data_bits_t data_bit

Data bits.

◆ irq_in

pin_name_t irq_in

IRQ input.

◆ irq_out

pin_name_t irq_out

IRQ output.

◆ 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.

◆ 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.

◆ ssi_0

pin_name_t ssi_0

Serial select pin 0.

◆ ssi_1

pin_name_t ssi_1

Serial select pin 1.

◆ stop_bit

uart_stop_bits_t stop_bit

Stop bits.

◆ tx_pin

pin_name_t tx_pin

TX pin.

◆ uart_blocking

bool uart_blocking

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