22 #define RN41_PORT PORTC 23 #define RN41_USART_MODULE USARTC1 25 #define RN41_RESET_bp PIN0_bp 26 #define RN41_UART_RX_bp PIN7_bp 27 #define RN41_UART_TX_bp PIN6_bp 28 #define RN41_UART_RTS_bp PIN5_bp 29 #define RN41_UART_CTS_bp PIN4_bp 31 #define RN41_RESET_bm PIN0_bm 32 #define RN41_UART_RX_bm PIN7_bm 33 #define RN41_UART_TX_bm PIN6_bm 34 #define RN41_UART_RTS_bm PIN5_bm 35 #define RN41_UART_CTS_bm PIN4_bm 37 #define RN41_DRE_vect USARTC1_DRE_vect 38 #define RN41_RXC_vect USARTC1_RXC_vect void rn41_transmit(uint8_t data)
Transmit data.
void rn41_on(void)
Enable the module.
void rn41_off(void)
Disable the module.
uint8_t rn41_receive(void)
Receive data.
void rn41_init(void)
Initialize the Bluetooth module.