spirit2 2.0.0.0
|
Topics | |
MikroBUS | |
Module power state | |
Driver define | |
Mode | |
Spirit 2 at command standard | |
Information register | |
Configuration register | |
Config parameters | |
Baud rate | |
CS mode | |
CRC mode | |
TX RX led | |
Modulation | |
Test mode | |
SPIRIT 2 Click Driver | |
API for configuring and manipulating SPIRIT 2 Click driver. | |
Data Structures | |
struct | spirit2_t |
SPIRIT 2 Click context object. More... | |
struct | spirit2_cfg_t |
SPIRIT 2 Click configuration object. More... | |
Enumerations | |
enum | spirit2_return_value_t { SPIRIT2_OK = 0 , SPIRIT2_ERROR = -1 } |
SPIRIT 2 Click return value data. More... | |
Variables | |
digital_out_t | rst |
digital_out_t | cmd |
digital_out_t | shd |
uart_t | uart |
char | uart_rx_buffer [DRV_RX_BUFFER_SIZE] |
char | uart_tx_buffer [DRV_TX_BUFFER_SIZE] |
pin_name_t | rx_pin |
pin_name_t | tx_pin |
pin_name_t | rst |
pin_name_t | cmd |
pin_name_t | shd |
uint32_t | baud_rate |
bool | uart_blocking |
uart_data_bits_t | data_bit |
uart_parity_t | parity_bit |
uart_stop_bits_t | stop_bit |
Any initialization code needed for MCU to function properly. Do not remove this line or clock might not be set correctly.
uint32_t baud_rate |
Clock speed.
digital_out_t cmd |
Description.
pin_name_t cmd |
Description.
uart_data_bits_t data_bit |
Data bits.
uart_parity_t parity_bit |
Parity bit.
digital_out_t rst |
Description.
pin_name_t rst |
Description.
pin_name_t rx_pin |
RX pin.
digital_out_t shd |
Description.
pin_name_t shd |
Description.
uart_stop_bits_t stop_bit |
Stop bits.
pin_name_t tx_pin |
TX pin.
uart_t uart |
UART driver object.
bool uart_blocking |
Wait for interrupt or not.
char uart_rx_buffer[DRV_RX_BUFFER_SIZE] |
Buffer size.
char uart_tx_buffer[DRV_TX_BUFFER_SIZE] |
Buffer size.