Home
last modified time | relevance | path

Searched refs:RETARGET_USART_PORT (Results 1 – 7 of 7) sorted by relevance

/bsp/ht32/ht32f52352/board/inc/
A Dht32f5xxxx_conf.h141 #define RETARGET_USART_PORT COM1_PORT macro
147 #define RETARGET_USART_PORT COM2_PORT macro
153 #define RETARGET_USART_PORT STRCAT2(HT_, RETARGET_UxART_IPN) macro
159 #define RETARGET_USART_PORT STRCAT2(HT_, RETARGET_UxART_IPN) macro
165 #define RETARGET_USART_PORT STRCAT2(HT_, RETARGET_UxART_IPN) macro
171 #define RETARGET_USART_PORT STRCAT2(HT_, RETARGET_UxART_IPN) macro
177 #define RETARGET_USART_PORT STRCAT2(HT_, RETARGET_UxART_IPN) macro
183 #define RETARGET_USART_PORT STRCAT2(HT_, RETARGET_UxART_IPN) macro
/bsp/ht32/ht32f53252/board/inc/
A Dht32f5xxxx_conf.h141 #define RETARGET_USART_PORT COM1_PORT macro
147 #define RETARGET_USART_PORT COM2_PORT macro
153 #define RETARGET_USART_PORT STRCAT2(HT_, RETARGET_UxART_IPN) macro
159 #define RETARGET_USART_PORT STRCAT2(HT_, RETARGET_UxART_IPN) macro
165 #define RETARGET_USART_PORT STRCAT2(HT_, RETARGET_UxART_IPN) macro
171 #define RETARGET_USART_PORT STRCAT2(HT_, RETARGET_UxART_IPN) macro
177 #define RETARGET_USART_PORT STRCAT2(HT_, RETARGET_UxART_IPN) macro
183 #define RETARGET_USART_PORT STRCAT2(HT_, RETARGET_UxART_IPN) macro
/bsp/ht32/ht32f12366/board/inc/
A Dht32f1xxxx_conf.h140 #define RETARGET_USART_PORT COM1_PORT macro
146 #define RETARGET_USART_PORT COM2_PORT macro
152 #define RETARGET_USART_PORT STRCAT2(HT_, RETARGET_UxART_IPN) macro
158 #define RETARGET_USART_PORT STRCAT2(HT_, RETARGET_UxART_IPN) macro
164 #define RETARGET_USART_PORT STRCAT2(HT_, RETARGET_UxART_IPN) macro
170 #define RETARGET_USART_PORT STRCAT2(HT_, RETARGET_UxART_IPN) macro
/bsp/ht32/libraries/HT32_STD_1xxxx_FWLib/library/HT32F1xxxx_Driver/src/
A Dht32_serial.c66 if (((RETARGET_USART_PORT->SR) & USART_FLAG_TXDE)) in RETARGET_UART_IRQHandler()
70 RETARGET_USART_PORT->IER &= ~USART_INT_TXDE; in RETARGET_UART_IRQHandler()
74 RETARGET_USART_PORT->DR = uSerialBuffer[uReadIndex++]; in RETARGET_UART_IRQHandler()
101 RETARGET_USART_PORT->IER |= USART_INT_TXDE; in SERIAL_PutChar()
105 USART_SendData(RETARGET_USART_PORT, (u8)ch); in SERIAL_PutChar()
106 while (USART_GetFlagStatus(RETARGET_USART_PORT, USART_FLAG_TXC) == RESET) in SERIAL_PutChar()
122 while (USART_GetFlagStatus(RETARGET_USART_PORT, USART_FLAG_RXDNE) == RESET) in SERIAL_GetChar()
126 while (USART_GetFlagStatus(RETARGET_USART_PORT, USART_FLAG_RXDR) == RESET) in SERIAL_GetChar()
130 return USART_ReceiveData(RETARGET_USART_PORT); in SERIAL_GetChar()
A Dht32_retarget.c145 USART_Init(RETARGET_USART_PORT, &USART_InitStructure); in RETARGET_Configuration()
146 USART_TxCmd(RETARGET_USART_PORT, ENABLE); in RETARGET_Configuration()
147 USART_RxCmd(RETARGET_USART_PORT, ENABLE); in RETARGET_Configuration()
/bsp/ht32/libraries/HT32_STD_5xxxx_FWLib/library/HT32F5xxxx_Driver/src/
A Dht32_serial.c66 if (((RETARGET_USART_PORT->SR) & USART_FLAG_TXDE)) in RETARGET_UART_IRQHandler()
70 RETARGET_USART_PORT->IER &= ~USART_INT_TXDE; in RETARGET_UART_IRQHandler()
74 RETARGET_USART_PORT->DR = uSerialBuffer[uReadIndex++]; in RETARGET_UART_IRQHandler()
101 RETARGET_USART_PORT->IER |= USART_INT_TXDE; in SERIAL_PutChar()
105 RETARGET_USART_PORT->DR = (u8)ch; in SERIAL_PutChar()
106 while ((RETARGET_USART_PORT->SR & USART_FLAG_TXC) == RESET) in SERIAL_PutChar()
121 while (USART_GetFlagStatus(RETARGET_USART_PORT, USART_FLAG_RXDR) == RESET) in SERIAL_GetChar()
124 return USART_ReceiveData(RETARGET_USART_PORT); in SERIAL_GetChar()
A Dht32_retarget.c145 USART_Init(RETARGET_USART_PORT, &USART_InitStructure); in RETARGET_Configuration()
146 USART_TxCmd(RETARGET_USART_PORT, ENABLE); in RETARGET_Configuration()
147 USART_RxCmd(RETARGET_USART_PORT, ENABLE); in RETARGET_Configuration()

Completed in 20 milliseconds