Searched refs:usart_dev (Results 1 – 2 of 2) sorted by relevance
60 struct usart_device *usart_dev; in ch32f1_usart_configure() local66 usart_dev = (struct usart_device *)serial; in ch32f1_usart_configure()67 RT_ASSERT(usart_dev != RT_NULL); in ch32f1_usart_configure()120 USART_Cmd(usart_dev->periph, ENABLE); in ch32f1_usart_configure()127 struct usart_device *usart_dev; in ch32f1_usart_control() local135 RT_ASSERT(usart_dev != RT_NULL); in ch32f1_usart_control()161 struct usart_device *usart_dev; in ch32f1_usart_putc() local167 RT_ASSERT(usart_dev != RT_NULL); in ch32f1_usart_putc()178 struct usart_device *usart_dev; in ch32f1_usart_getc() local185 RT_ASSERT(usart_dev != RT_NULL); in ch32f1_usart_getc()[all …]
100 struct usart_device *usart_dev; in ch32f2_usart_configure() local106 usart_dev = (struct usart_device *)serial; in ch32f2_usart_configure()107 RT_ASSERT(usart_dev != RT_NULL); in ch32f2_usart_configure()160 USART_Cmd(usart_dev->periph, ENABLE); in ch32f2_usart_configure()167 struct usart_device *usart_dev; in ch32f2_usart_control() local175 RT_ASSERT(usart_dev != RT_NULL); in ch32f2_usart_control()201 struct usart_device *usart_dev; in ch32f2_usart_putc() local207 RT_ASSERT(usart_dev != RT_NULL); in ch32f2_usart_putc()218 struct usart_device *usart_dev; in ch32f2_usart_getc() local225 RT_ASSERT(usart_dev != RT_NULL); in ch32f2_usart_getc()[all …]
Completed in 18 milliseconds