Home
last modified time | relevance | path

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

/ohos5.0/drivers/hdf_core/adapter/platform/uart/
H A Duart_stm32f4xx.c189 static const USART_TypeDef* g_usartRegMap[USART_NUM_6] = { variable
348 LL_USART_Disable(g_usartRegMap[uartDevice->uartId - 1]); in InitUartDevice()
349 LL_USART_DeInit(g_usartRegMap[uartDevice->uartId - 1]); in InitUartDevice()
353 initRet = LL_USART_Init(g_usartRegMap[uartDevice->uartId - 1], initTypedef); in InitUartDevice()
358 LL_USART_ConfigAsyncMode(g_usartRegMap[uartDevice->uartId - 1]); in InitUartDevice()
359 LL_USART_Enable(g_usartRegMap[uartDevice->uartId - 1]); in InitUartDevice()
360 UART_IRQ_INIT(g_usartRegMap[uartDevice->uartId - 1], uartDevice->uartId, in InitUartDevice()
643 LL_USART_Disable(g_usartRegMap[uartDevice->uartId - 1]);
645 return LL_USART_DeInit(g_usartRegMap[uartId - 1]);
660 USART_TypeDef* usartx = g_usartRegMap[portId - 1];
[all …]