radar 2.0.0.0
radar_cfg_t Struct Reference

Radar Click configuration object. More...

#include <radar.h>

Data Fields

pin_name_t rx_pin
 
pin_name_t tx_pin
 
pin_name_t rst
 
pin_name_t gp2
 
pin_name_t gp1
 
pin_name_t gp0
 
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

Radar Click configuration object.

Configuration object definition of Radar Click driver.

Field Documentation

◆ baud_rate

uint32_t baud_rate

Clock speed.

◆ data_bit

uart_data_bits_t data_bit

Data bits.

◆ gp0

pin_name_t gp0

GPIO0 pin - no presence indication.

◆ gp1

pin_name_t gp1

GPIO1 pin - presence detected indication.

◆ gp2

pin_name_t gp2

GPIO2 pin - bootloader mode indication.

◆ parity_bit

uart_parity_t parity_bit

Parity bit.

◆ rst

pin_name_t rst

Reset pin.

◆ rx_pin

pin_name_t rx_pin

RX pin.

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


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