Home
last modified time | relevance | path

Searched refs:UART (Results 1 – 25 of 770) sorted by relevance

12345678910>>...31

/bsp/apollo2/libraries/drivers/hal/
A Dam_hal_uart.c176 return AM_REGn(UART, ui32Module, RSR); in am_hal_uart_status_get()
214 return AM_REGn(UART, ui32Module, MIS); in am_hal_uart_int_status_get()
221 return AM_REGn(UART, ui32Module, IES); in am_hal_uart_int_status_get()
360 return AM_REGn(UART, ui32Module, IER); in am_hal_uart_int_enable_get()
663 return AM_REGn(UART, ui32Module, FR); in am_hal_uart_flags_get()
683 while (AM_BFRn(UART, ui32Module, FR, TXFF)); in am_hal_uart_char_transmit_polled()
688 AM_REGn(UART, ui32Module, DR) = cChar; in am_hal_uart_char_transmit_polled()
736 while (AM_BFRn(UART, ui32Module, FR, RXFE)); in am_hal_uart_char_receive_polled()
741 *pcChar = AM_REGn(UART, ui32Module, DR); in am_hal_uart_char_receive_polled()
1041 !AM_BFRn(UART, ui32Module, FR, TXFF)) in am_hal_uart_char_transmit_buffered()
[all …]
/bsp/rockchip/rk3568/driver/
A DKconfig4 bool "Using UART"
10 bool "Enable UART 0"
14 bool "Enable UART 1"
18 bool "Enable UART 2"
22 bool "Enable UART 3"
26 bool "Enable UART 4"
30 bool "Enable UART 5"
34 bool "Enable UART 6"
38 bool "Enable UART 7"
42 bool "Enable UART 8"
[all …]
/bsp/nxp/lpc/lpc178x/drivers/
A Duart.c30 LPC_UART_TypeDef * UART; member
55 iir = uart->UART->IIR; in UART0_IRQHandler()
98 iir = uart->UART->IIR; in UART1_IRQHandler()
137 if( uart->UART == LPC_UART0 ) in rt_uart_init()
155 UART_TxCmd( uart->UART, ENABLE); in rt_uart_init()
177 UART_Init( uart->UART,&UART_ConfigStruct); in rt_uart_init()
180 UART_TxCmd( uart->UART, ENABLE); in rt_uart_init()
187 if( uart->UART == LPC_UART2 ) in rt_uart_init()
284 UART_SendByte( uart->UART,'\r'); in rt_uart_write()
288 UART_SendByte( uart->UART,*ptr); in rt_uart_write()
[all …]
/bsp/nxp/lpc/lpc408x/drivers/
A Ddrv_uart.c19 LPC_UART_TypeDef *UART; member
38 uart->UART->LCR |= 0x80; in lpc_configure()
41 uart->UART->DLM = Fdiv / 256; in lpc_configure()
42 uart->UART->DLL = Fdiv % 256; in lpc_configure()
44 uart->UART->LCR &= ~0x80; in lpc_configure()
46 uart->UART->LCR |= 0x03; in lpc_configure()
49 uart->UART->FCR = 0x07; in lpc_configure()
65 uart->UART->IER &= ~0x01; in lpc_control()
69 uart->UART->IER |= 0x01; in lpc_control()
82 uart->UART->THR = c; in lpc_putc()
[all …]
/bsp/nxp/lpc/lpc54608-LPCXpresso/drivers/
A Ddrv_uart.c24 USART_Type *UART; member
49 USART_Init(uart->UART, &u0_config, CLOCK_GetFreq(kCLOCK_Flexcomm0)); in lpc_configure()
65 USART_DisableInterrupts(uart->UART, kUSART_RxLevelInterruptEnable); in lpc_control()
69 USART_EnableInterrupts(uart->UART, kUSART_RxLevelInterruptEnable); in lpc_control()
82 while (!(kUSART_TxFifoNotFullFlag & USART_GetStatusFlags(uart->UART))); in lpc_putc()
84 USART_WriteByte(uart->UART, c); in lpc_putc()
94 if (kUSART_RxFifoNotEmptyFlag & USART_GetStatusFlags(uart->UART)) in lpc_getc()
96 return USART_ReadByte(uart->UART); in lpc_getc()
182 USART_EnableInterrupts(uart->UART, kUSART_RxLevelInterruptEnable); in rt_hw_uart_init()
/bsp/nxp/lpc/lpc54114-lite/drivers/
A Ddrv_uart.c24 USART_Type *UART; member
56 USART_Init(uart->UART, &u0_config, CLOCK_GetFreq(kCLOCK_Flexcomm0)); in lpc_configure()
72 USART_DisableInterrupts(uart->UART, kUSART_RxLevelInterruptEnable); in lpc_control()
76 USART_EnableInterrupts(uart->UART, kUSART_RxLevelInterruptEnable); in lpc_control()
89 while (!(kUSART_TxFifoNotFullFlag & USART_GetStatusFlags(uart->UART))); in lpc_putc()
91 USART_WriteByte(uart->UART, c); in lpc_putc()
101 if (kUSART_RxFifoNotEmptyFlag & USART_GetStatusFlags(uart->UART)) in lpc_getc()
103 return USART_ReadByte(uart->UART); in lpc_getc()
177 … USART_EnableInterrupts(uart->UART, kUSART_RxLevelInterruptEnable | kUSART_RxErrorInterruptEnable); in rt_hw_uart_init()
/bsp/zynqmp-r5-axu4ev/drivers/
A Ddrv_uart.c26 #define ZynqMP_UART_INT_DISABLE(UART) \ argument
27 (UART->IER &= ~(UART_IXR_RXOVR | UART_IXR_RXFULL))
28 #define ZynqMP_UART_INT_ENABLE(UART) \ argument
29 (UART->IER |= (UART_IXR_RXOVR | UART_IXR_RXFULL))
31 #define ZynqMP_UART_SENDCHAR(UART, ch) \ argument
33 while ((UART->SR) & UART_SR_TXFULL); \
34 UART->FIFO = ch; \
37 #define ZynqMP_UART_GETCHAR(UART, ch) \ argument
39 if (UART->ISR & UART_IXR_RXOVR) \
41 ch = UART->FIFO & 0xff; \
[all …]
/bsp/renesas/ra2l1-cpk/docs/
A DCaptouch板载触摸按键配置说明.md31 选中创建出的rm_touch,在配置中开启UART的Tuning和monitoring功能。
35 添加UART端口用于调制过程。
39 ### 添加UART端口
41 选中创建出的UART,这里使用UART 0来作为调制串口,如果需要使用其他串口可手动修改channel数值。
45 默认的SCI0可能是SPI,需要将SCI0使用的模式修改为UART
49 回到stacks标签页,打开UART端口的DTC功能,并添加DTC。
53UART的rx和tx添加DTC支持。
193 使用UART连接开发板监控触摸按键状态。
/bsp/nxp/lpc/lpc5410x/drivers/
A Ddrv_uart.c27 LPC_USART_T *UART; member
70 uart->UART->OSR = (UART_cfg.ovr - 1) & 0x0F; in lpc_configure()
71 uart->UART->BRG = (UART_cfg.div - 1) & 0xFFFF; in lpc_configure()
72 uart->UART->CFG = UART_CFG_ENABLE | (UART_cfg.cfg & ~UART_CFG_RES); in lpc_configure()
88 uart->UART->INTENCLR &= ~0x01; in lpc_control()
92 uart->UART->INTENSET |= 0x01; in lpc_control()
104 while(!(uart->UART->STAT & (0x01<<2))); in lpc_putc()
106 uart->UART->TXDAT = c ; in lpc_putc()
119 if (uart->UART->STAT & 0x01) in lpc_getc()
120 return (uart->UART->RXDAT); in lpc_getc()
/bsp/cvitek/cv18xx_aarch64/board/
A DKconfig22 bool "Using UART"
28 bool "Enable UART 0"
41 bool "Enable UART 1"
54 bool "Enable UART 2"
67 bool "Enable UART 3"
80 bool "Enable UART 4"
/bsp/raspberry-pi/raspi4-64/drivers/
A DKconfig13 bool "Using UART"
19 bool "Enable UART 0"
23 bool "Enable UART 1"
27 bool "Enable UART 3"
31 bool "Enable UART 4"
35 bool "Enable UART 5"
/bsp/raspberry-pi/raspi4-32/driver/
A DKconfig9 bool "Using UART"
15 bool "Enabel UART 0"
19 bool "Enabel UART 1"
23 bool "Enabel UART 3"
27 bool "Enabel UART 4"
31 bool "Enabel UART 5"
/bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/
A DREADME_zh.md45 | 18 (D18) | PA10 | 是 | Serial-Rx,默认被RT-Thread的UART设备框架uart1接管 …
46 | 19 (D19) | PA9 | 是 | Serial-Tx,默认被RT-Thread的UART设备框架uart1接管 …
47 | 20 (D20) | PA2 | 否 | Serial2-Tx,默认被RT-Thread的UART设备框架uart2接管 …
48 | 21 (D21) | PA3 | 否 | Serial2-Rx,默认被RT-Thread的UART设备框架uart2接管 …
49 | 22 (D22) | PB10 | 是 | Serial3-Tx,默认被RT-Thread的UART设备框架uart3接管 …
50 | 23 (D23) | PB11 | 是 | Serial3-Rx,默认被RT-Thread的UART设备框架uart3接管 …
/bsp/samd21/sam_d2x_asflib/common/services/serial/sam_uart/
A Duart_serial.h114 #ifdef UART in usart_serial_init()
115 if (UART == (Uart*)p_usart) { in usart_serial_init()
388 #ifdef UART in usart_serial_putchar()
389 if (UART == (Uart*)p_usart) { in usart_serial_putchar()
493 #ifdef UART in usart_serial_getchar()
494 if (UART == (Uart*)p_usart) { in usart_serial_getchar()
589 #ifdef UART in usart_serial_is_rx_ready()
590 if (UART == (Uart*)p_usart) { in usart_serial_is_rx_ready()
/bsp/renesas/rzt2m_rsk/board/
A DKconfig29 bool "Enable UART"
166 bool "UART mode"
197 bool "UART mode"
228 bool "UART mode"
259 bool "UART mode"
290 bool "UART mode"
321 bool "UART mode"
352 bool "UART mode"
383 bool "UART mode"
414 bool "UART mode"
[all …]
/bsp/renesas/ra6m3-ek/board/
A DKconfig63 bool "Enable UART"
215 bool "UART mode"
246 bool "UART mode"
277 bool "UART mode"
308 bool "UART mode"
339 bool "UART mode"
370 bool "UART mode"
401 bool "UART mode"
432 bool "UART mode"
463 bool "UART mode"
[all …]
/bsp/stm32/stm32l496-st-discovery/
A DREADME.md55 | UART | 支持 | 三个 USART、两个 UART 和一个低功耗 UART |
/bsp/raspberry-pico/RP2040/applications/arduino_pinout/
A DREADME.md24 | 0 (D0) | P | 是/否 | Serial-TX,默认被RT-Thread的UART设备框架uart1接管 |
25 | 1 (D1) | P | 是/否 | Serial-RX,默认被RT-Thread的UART设备框架uart1接管 |
32 | 8 (D8) | P | 是/否 | Serial2-TX,默认被RT-Thread的UART设备框架uart2接管 |
33 | 9 (D9) | P | 是/否 | Serial2-RX,默认被RT-Thread的UART设备框架uart2接管 |
/bsp/stm32/stm32f401-weact-blackpill/applications/arduino_pinout/
A DREADME.md28 | 3 (D3) | PA2 | 是 | Serial2-TX,默认被RT-Thread的UART设备框架uart2接管 |
29 | 4 (D4) | PA3 | 是 | Serial2-RX,默认被RT-Thread的UART设备框架uart2接管 |
42 | 17 (D17) | PA10 | 是 | Serial-RX,默认被RT-Thread的UART设备框架uart1接管 |
43 | 18 (D18) | PA9 | 是 | Serial-TX,默认被RT-Thread的UART设备框架uart1接管 |
/bsp/nuvoton/libraries/m2354/
A DREADME.md27 | SC (UART function) | RT_Device_Class_Char | ***scuart[0-2]*** |
35 | UART | RT_Device_Class_Char | ***uart[0-5]*** |
40 | USCI (UART function) | RT_Device_Class_Char | ***uuart[0-1]*** |
/bsp/zynqmp-a53-dfzu2eg/drivers/
A DKconfig7 bool "Using UART"
13 bool "Enabel UART 0"
/bsp/fm33lc026/
A DREADME.md30 工程已经默认使能了RT-Thread UART驱动。若想进一步配置工程请
37 | UART | 支持 | USART0/1/4/5 |
/bsp/renesas/rzn2l_etherkit/board/
A DKconfig23 bool "Enable UART"
154 bool "UART mode"
185 bool "UART mode"
216 bool "UART mode"
247 bool "UART mode"
278 bool "UART mode"
309 bool "UART mode"
340 bool "UART mode"
371 bool "UART mode"
402 bool "UART mode"
[all …]
/bsp/renesas/ra8m1-ek/board/
A DKconfig33 bool "Enable UART"
130 bool "UART mode"
161 bool "UART mode"
192 bool "UART mode"
223 bool "UART mode"
254 bool "UART mode"
285 bool "UART mode"
316 bool "UART mode"
347 bool "UART mode"
378 bool "UART mode"
[all …]
/bsp/renesas/ebf_qi_min_6m5/board/
A DKconfig19 bool "Enable UART"
167 bool "UART mode"
198 bool "UART mode"
229 bool "UART mode"
260 bool "UART mode"
291 bool "UART mode"
322 bool "UART mode"
353 bool "UART mode"
384 bool "UART mode"
415 bool "UART mode"
[all …]

Completed in 47 milliseconds

12345678910>>...31