Home
last modified time | relevance | path

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

/bsp/wch/arm/Libraries/ch32_drivers/
A Ddrv_uart_ch32f10x.c60 struct usart_device *usart_dev; in ch32f1_usart_configure() local
66 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() local
135 RT_ASSERT(usart_dev != RT_NULL); in ch32f1_usart_control()
161 struct usart_device *usart_dev; in ch32f1_usart_putc() local
167 RT_ASSERT(usart_dev != RT_NULL); in ch32f1_usart_putc()
178 struct usart_device *usart_dev; in ch32f1_usart_getc() local
185 RT_ASSERT(usart_dev != RT_NULL); in ch32f1_usart_getc()
[all …]
A Ddrv_uart_ch32f20x.c100 struct usart_device *usart_dev; in ch32f2_usart_configure() local
106 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() local
175 RT_ASSERT(usart_dev != RT_NULL); in ch32f2_usart_control()
201 struct usart_device *usart_dev; in ch32f2_usart_putc() local
207 RT_ASSERT(usart_dev != RT_NULL); in ch32f2_usart_putc()
218 struct usart_device *usart_dev; in ch32f2_usart_getc() local
225 RT_ASSERT(usart_dev != RT_NULL); in ch32f2_usart_getc()
[all …]

Completed in 18 milliseconds