bt 2.0.0.0
bt_cfg_t Struct Reference

BT Click configuration object. More...

#include <bt.h>

Data Fields

pin_name_t rx_pin
 
pin_name_t tx_pin
 
pin_name_t an
 
pin_name_t rst
 
pin_name_t cts
 
pin_name_t bt0
 
pin_name_t rts
 
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

BT Click configuration object.

Configuration object definition of BT Click driver.

Field Documentation

◆ an

pin_name_t an

GPIO.

◆ baud_rate

uint32_t baud_rate

Clock speed.

◆ bt0

pin_name_t bt0

Boot mode.

◆ cts

pin_name_t cts

Clear to send.

◆ data_bit

uart_data_bits_t data_bit

Data bits.

◆ parity_bit

uart_parity_t parity_bit

Parity bit.

◆ rst

pin_name_t rst

Reset.

◆ rts

pin_name_t rts

Request to send.

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