21 #define USART_PORT RN41_PORT 22 #define USART_MODULE RN41_USART_MODULE 24 #define USART_RX_PIN_bp RN41_UART_TX_bp 25 #define USART_RX_PIN_bm RN41_UART_TX_bm 27 #define USART_TX_PIN_bp RN41_UART_RX_bp 28 #define USART_TX_PIN_bm RN41_UART_RX_bm 30 #define USART_DRE_vect RN41_DRE_vect 31 #define USART_RXC_vect RN41_RXC_vect 33 #define USART_BSEL_gc 11 34 #define USART_BSCALE_gc -7 35 #define USART_CONFIG (USART_CHSIZE_8BIT_gc | USART_PMODE_DISABLED_gc) uint8_t usart_receive(void)
Receive data.
uint8_t usart_data_register_empty(void)
Data register empty.
void usart_init(void)
Initialize the USART.
void usart_transmit(uint8_t data)
Transmit data.
This module implements an interface for Bluetooth click module.
uint8_t usart_receive_complete(void)
Receive complete.