Searched refs:BT_USART_ID (Results 1 – 2 of 2) sorted by relevance
148 …PLIB_USART_BaudRateSet(BT_USART_ID, SYS_CLK_PeripheralFrequencyGet(CLK_BUS_PERIPHERAL_1), BT_USART… in hal_uart_dma_init()149 PLIB_USART_HandshakeModeSelect(BT_USART_ID, USART_HANDSHAKE_MODE_FLOW_CONTROL); in hal_uart_dma_init()150 PLIB_USART_OperationModeSelect(BT_USART_ID, USART_ENABLE_TX_RX_CTS_RTS_USED); in hal_uart_dma_init()151 PLIB_USART_LineControlModeSelect(BT_USART_ID, USART_8N1); in hal_uart_dma_init()156 PLIB_USART_TransmitterEnable(BT_USART_ID); in hal_uart_dma_init()160 PLIB_USART_RunInOverflowEnable(BT_USART_ID); in hal_uart_dma_init()162 PLIB_USART_ReceiverEnable(BT_USART_ID); in hal_uart_dma_init()165 PLIB_USART_Enable(BT_USART_ID); in hal_uart_dma_init()257 while (bytes_to_read && PLIB_USART_ReceiverDataIsAvailable(BT_USART_ID)) { in BTSTACK_Tasks()258 *rx_buffer_ptr++ = PLIB_USART_ReceiverByteReceive(BT_USART_ID); in BTSTACK_Tasks()[all …]
45 #define BT_USART_ID USART_ID_2 macro