Searched refs:UartId (Results 1 – 10 of 10) sorted by relevance
57 obj->UartId = uartId; in UartMcuInit()59 if( obj->UartId == UART_1 ) in UartMcuInit()68 else if( obj->UartId == UART_2 ) in UartMcuInit()82 if( obj->UartId == UART_USB_CDC ) in UartMcuConfig()90 if( obj->UartId == UART_1 ) in UartMcuConfig()92 UartContext[obj->UartId].UartHandle.Instance = USART1; in UartMcuConfig()94 else if( obj->UartId == UART_2 ) in UartMcuConfig()96 UartContext[obj->UartId].UartHandle.Instance = USART2; in UartMcuConfig()98 UartContext[obj->UartId].UartHandle.Init.BaudRate = baudrate; in UartMcuConfig()106 UartContext[obj->UartId].UartHandle.Init.Mode = UART_MODE_TX; in UartMcuConfig()[all …]
43 obj->UartId = uartId; in UartMcuInit()64 if( obj->UartId == UART_USB_CDC ) in UartMcuConfig()171 if( obj->UartId == UART_USB_CDC ) in UartMcuDeInit()190 if( obj->UartId == UART_USB_CDC ) in UartMcuPutChar()220 if( obj->UartId == UART_USB_CDC ) in UartMcuGetChar()245 if( obj->UartId == UART_USB_CDC ) in UartMcuPutBuffer()
43 obj->UartId = uartId; in UartMcuInit()64 if( obj->UartId == UART_USB_CDC ) in UartMcuConfig()174 if( obj->UartId == UART_USB_CDC ) in UartMcuDeInit()193 if( obj->UartId == UART_USB_CDC ) in UartMcuPutChar()223 if( obj->UartId == UART_USB_CDC ) in UartMcuGetChar()248 if( obj->UartId == UART_USB_CDC ) in UartMcuPutBuffer()
58 UartId_t UartId; member
36 obj->UartId = uartId; in UartMcuInit()