Home
last modified time | relevance | path

Searched refs:USART (Results 1 – 25 of 186) sorted by relevance

12345678

/bsp/nxp/lpc/lpc43xx/drivers/
A Ddrv_uart.c19 LPC_USARTn_Type *USART; member
57 uart->USART->THR = c; in lpc_putc()
67 if (uart->USART->LSR & 0x01) in lpc_getc()
69 return (uart->USART->RBR); in lpc_getc()
97 intsrc = uart->USART->LSR; in _do_uart_isr()
101 uart->USART->RBR; in _do_uart_isr()
211 uart->USART->DLM = 0x00; in rt_hw_uart_init()
212 uart->USART->FDR = 0xC1; in rt_hw_uart_init()
262 uart->USART->DLM = 0x00; in rt_hw_uart_init()
263 uart->USART->FDR = 0xC1; in rt_hw_uart_init()
[all …]
/bsp/xplorer4330/drivers/
A Ddrv_uart.c19 LPC_USARTn_Type *USART; member
52 uart->USART->IER &= ~UART_IER_RBRINT_EN; in lpc_control()
56 uart->USART->IER |= UART_IER_RBRINT_EN; in lpc_control()
68 while (!(uart->USART->LSR & 0x20)); in lpc_putc()
69 uart->USART->THR = c; in lpc_putc()
79 if (uart->USART->LSR & 0x01) in lpc_getc()
81 return (uart->USART->RBR); in lpc_getc()
121 intsrc = uart->USART->LSR; in UART0_IRQHandler()
132 while (uart->USART->LSR & UART_LSR_RDR) in UART0_IRQHandler()
173 intsrc = uart->USART->LSR; in UART2_IRQHandler()
[all …]
/bsp/microchip/saml10/bsp/hri/
A Dhri_sercom_l10.h5644 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_get_BAUD_FRAC_BAUD_bf()
5653 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_get_BAUD_FRACFP_BAUD_bf()
5662 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_write_BAUD_FRAC_BAUD_bf()
5665 ((Sercom *)hw)->USART.BAUD.reg = tmp; in hri_sercomusart_write_BAUD_FRAC_BAUD_bf()
5673 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_write_BAUD_FRACFP_BAUD_bf()
5676 ((Sercom *)hw)->USART.BAUD.reg = tmp; in hri_sercomusart_write_BAUD_FRACFP_BAUD_bf()
5711 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_read_BAUD_FRAC_BAUD_bf()
5719 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_read_BAUD_FRACFP_BAUD_bf()
5742 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_get_BAUD_FRAC_FP_bf()
5751 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_get_BAUD_FRACFP_FP_bf()
[all …]
/bsp/microchip/samd51-seeed-wio-terminal/bsp/hri/
A Dhri_sercom_d51.h6063 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_get_BAUD_FRAC_BAUD_bf()
6072 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_get_BAUD_FRACFP_BAUD_bf()
6081 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_write_BAUD_FRAC_BAUD_bf()
6084 ((Sercom *)hw)->USART.BAUD.reg = tmp; in hri_sercomusart_write_BAUD_FRAC_BAUD_bf()
6092 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_write_BAUD_FRACFP_BAUD_bf()
6095 ((Sercom *)hw)->USART.BAUD.reg = tmp; in hri_sercomusart_write_BAUD_FRACFP_BAUD_bf()
6130 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_read_BAUD_FRAC_BAUD_bf()
6138 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_read_BAUD_FRACFP_BAUD_bf()
6161 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_get_BAUD_FRAC_FP_bf()
6170 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_get_BAUD_FRACFP_FP_bf()
[all …]
/bsp/microchip/same54/bsp/hri/
A Dhri_sercom_e54.h6063 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_get_BAUD_FRAC_BAUD_bf()
6072 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_get_BAUD_FRACFP_BAUD_bf()
6081 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_write_BAUD_FRAC_BAUD_bf()
6084 ((Sercom *)hw)->USART.BAUD.reg = tmp; in hri_sercomusart_write_BAUD_FRAC_BAUD_bf()
6092 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_write_BAUD_FRACFP_BAUD_bf()
6095 ((Sercom *)hw)->USART.BAUD.reg = tmp; in hri_sercomusart_write_BAUD_FRACFP_BAUD_bf()
6130 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_read_BAUD_FRAC_BAUD_bf()
6138 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_read_BAUD_FRACFP_BAUD_bf()
6161 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_get_BAUD_FRAC_FP_bf()
6170 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_get_BAUD_FRACFP_FP_bf()
[all …]
/bsp/microchip/samd51-adafruit-metro-m4/bsp/hri/
A Dhri_sercom_d51.h6063 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_get_BAUD_FRAC_BAUD_bf()
6072 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_get_BAUD_FRACFP_BAUD_bf()
6081 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_write_BAUD_FRAC_BAUD_bf()
6084 ((Sercom *)hw)->USART.BAUD.reg = tmp; in hri_sercomusart_write_BAUD_FRAC_BAUD_bf()
6092 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_write_BAUD_FRACFP_BAUD_bf()
6095 ((Sercom *)hw)->USART.BAUD.reg = tmp; in hri_sercomusart_write_BAUD_FRACFP_BAUD_bf()
6130 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_read_BAUD_FRAC_BAUD_bf()
6138 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_read_BAUD_FRACFP_BAUD_bf()
6161 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_get_BAUD_FRAC_FP_bf()
6170 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_get_BAUD_FRACFP_FP_bf()
[all …]
/bsp/microchip/samc21/bsp/hri/
A Dhri_sercom_c21.h5405 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_get_BAUD_FRAC_BAUD_bf()
5414 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_get_BAUD_FRACFP_BAUD_bf()
5423 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_write_BAUD_FRAC_BAUD_bf()
5426 ((Sercom *)hw)->USART.BAUD.reg = tmp; in hri_sercomusart_write_BAUD_FRAC_BAUD_bf()
5434 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_write_BAUD_FRACFP_BAUD_bf()
5437 ((Sercom *)hw)->USART.BAUD.reg = tmp; in hri_sercomusart_write_BAUD_FRACFP_BAUD_bf()
5472 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_read_BAUD_FRAC_BAUD_bf()
5480 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_read_BAUD_FRACFP_BAUD_bf()
5503 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_get_BAUD_FRAC_FP_bf()
5512 tmp = ((Sercom *)hw)->USART.BAUD.reg; in hri_sercomusart_get_BAUD_FRACFP_FP_bf()
[all …]
/bsp/microchip/samd51-adafruit-metro-m4/bsp/hal/documentation/
A Dusart_async.rst1 The USART Asynchronous Driver
5 (USART) is usually used to transfer data from one device to the other.
7 The USART driver use a ring buffer to store received data. When the USART
14 On the other hand, when sending data over USART, the data is not copied to an
50 USART capable hardware, with interrupt on each character is sent or
63 * The "USART with ISO7816" mode can be only used in ISO7816 capable devices.
/bsp/microchip/samc21/bsp/hal/documentation/
A Dusart_async.rst1 The USART Asynchronous Driver
5 (USART) is usually used to transfer data from one device to the other.
7 The USART driver use a ring buffer to store received data. When the USART
14 On the other hand, when sending data over USART, the data is not copied to an
50 USART capable hardware, with interrupt on each character is sent or
63 * The "USART with ISO7816" mode can be only used in ISO7816 capable devices.
/bsp/microchip/samd51-seeed-wio-terminal/bsp/hal/documentation/
A Dusart_async.rst1 The USART Asynchronous Driver
5 (USART) is usually used to transfer data from one device to the other.
7 The USART driver use a ring buffer to store received data. When the USART
14 On the other hand, when sending data over USART, the data is not copied to an
50 USART capable hardware, with interrupt on each character is sent or
63 * The "USART with ISO7816" mode can be only used in ISO7816 capable devices.
/bsp/microchip/saml10/bsp/hal/documentation/
A Dusart_async.rst1 The USART Asynchronous Driver
5 (USART) is usually used to transfer data from one device to the other.
7 The USART driver use a ring buffer to store received data. When the USART
14 On the other hand, when sending data over USART, the data is not copied to an
50 USART capable hardware, with interrupt on each character is sent or
63 * The "USART with ISO7816" mode can be only used in ISO7816 capable devices.
/bsp/microchip/same70/bsp/hal/documentation/
A Dusart_async.rst1 The USART Asynchronous Driver
5 (USART) is usually used to transfer data from one device to the other.
7 The USART driver use a ring buffer to store received data. When the USART
14 On the other hand, when sending data over USART, the data is not copied to an
50 USART capable hardware, with interrupt on each character is sent or
63 * The "USART with ISO7816" mode can be only used in ISO7816 capable devices.
/bsp/microchip/same54/bsp/hal/documentation/
A Dusart_async.rst1 The USART Asynchronous Driver
5 (USART) is usually used to transfer data from one device to the other.
7 The USART driver use a ring buffer to store received data. When the USART
14 On the other hand, when sending data over USART, the data is not copied to an
50 USART capable hardware, with interrupt on each character is sent or
63 * The "USART with ISO7816" mode can be only used in ISO7816 capable devices.
/bsp/microchip/saml10/bsp/documentation/
A Dedbg_usart.rst5 The example application uses the Asynchronous USART driver to communicate with
11 * Asynchronous USART
16 * USART
/bsp/samd21/board/
A Duart.c147 uart->com->USART.INTENCLR.reg = SERCOM_USART_INTFLAG_RXC; in _uart_ctrl()
157 uart->com->USART.INTENSET.reg = SERCOM_USART_INTFLAG_RXC; in _uart_ctrl()
183 uart->com->USART.DATA.reg = c; in _uart_putc()
185 while (!(uart->com->USART.INTFLAG.reg & SERCOM_USART_INTFLAG_TXC)) { in _uart_putc()
202 if (!(uart->com->USART.INTFLAG.reg & SERCOM_USART_INTFLAG_RXC)) { in _uart_getc()
207 ch = uart->com->USART.DATA.reg & 0x1FF; in _uart_getc()
226 SercomUsart *const usart_hw = &(module->hw->USART); in uart_int_cb()
/bsp/samd21/sam_d2x_asflib/sam0/drivers/sercom/usart/
A Dusart.h1014 SercomUsart *const usart_hw = &(module->hw->USART); in usart_is_syncing()
1144 SercomUsart *const usart_hw = &(module->hw->USART); in usart_enable()
1173 SercomUsart *const usart_hw = &(module->hw->USART); in usart_disable()
1202 SercomUsart *const usart_hw = &(module->hw->USART); in usart_reset()
1258 SercomUsart *const usart_hw = &(module->hw->USART); in usart_enable_transceiver()
1296 SercomUsart *const usart_hw = &(module->hw->USART); in usart_disable_transceiver()
1336 SercomUsart *const usart_hw = &(module->hw->USART); in lin_master_send_cmd()
1354 SercomUsart *const usart_hw = &(module->hw->USART); in lin_master_transmission_status()
A Dusart.c65 SercomUsart *const usart_hw = &(module->hw->USART); in _usart_set_config()
335 SercomUsart *const usart_hw = &(module->hw->USART); in usart_init()
487 SercomUsart *const usart_hw = &(module->hw->USART); in usart_write_wait()
555 SercomUsart *const usart_hw = &(module->hw->USART); in usart_read_wait()
680 SercomUsart *const usart_hw = &(module->hw->USART); in usart_write_buffer_wait()
782 SercomUsart *const usart_hw = &(module->hw->USART); in usart_read_buffer_wait()
A Dusart_interrupt.c69 SercomUsart *const usart_hw = &(module->hw->USART); in _usart_write_buffer()
113 SercomUsart *const usart_hw = &(module->hw->USART); in _usart_read_buffer()
380 SercomUsart *const usart_hw = &(module->hw->USART); in usart_abort_job()
476 = &(module->hw->USART); in _usart_interrupt_handler()
/bsp/samd21/sam_d2x_asflib/common/services/serial/sam_uart/
A Duart_serial.h159 #ifdef USART in usart_serial_init()
160 if (USART == p_usart) { in usart_serial_init()
421 #ifdef USART in usart_serial_putchar()
422 if (USART == p_usart) { in usart_serial_putchar()
521 #ifdef USART in usart_serial_getchar()
522 if (USART == p_usart) { in usart_serial_getchar()
617 #ifdef USART in usart_serial_is_rx_ready()
618 if (USART == p_usart) { in usart_serial_is_rx_ready()
/bsp/nxp/lpc/lpc55sxx/Libraries/template/lpc55s6xxxx/
A DREADME.md13 |基本外设| 8个Flexcomm(任意配置为USART/SPI/I2C/I2S) / 1个50MHz SPI / 双USB(1高1全,支持主从) |
174 | PIO0_29 | Flexcomm0 USART RXD |
175 | PIO0_30 | Flexcomm0 USART TXD |
195 | PIO0_27 | Flexcomm2 USART TXD mikro BUS |
196 | PIO1_24 | Flexcomm2 USART RXD mikro BUS |
/bsp/microchip/same54/bsp/documentation/
A Daes_demo.rst20 * Synchronous USART
24 * USART
/bsp/stm32/stm32f429-st-disco/
A Dreadme.md48 老版本的 STM32F429I-DISCO 开发板需要从板子上的引脚外接串口,并更改控制台设备到相应 USART
71 | USART | 支持 | USART1/2/3 |
/bsp/stm32/stm32l010-st-nucleo/
A DREADME.md32 - USART, I2C, SPI supported
45 - 7-channel DMA controller, supporting ADC, SPI, I2C, USART and timers
47 - 1x USART (ISO7816), 1x LPUART (low power)
/bsp/gd32/arm/gd32e503v-eval/
A DREADME.md6 …及 Reset, Boot, K2, LED, I2S, I2CEEPROM, LCD, NAND Flash, SPI-Flash, SDIO, USB, USART 转 USB 接口等外设资源。
19 - USART * 4、UART * 2
/bsp/ht32/libraries/HT32_STD_1xxxx_FWLib/library/HT32F1xxxx_Driver/inc/
A Dht32f1xxxx_usart.h461 #define IS_USART(USART) ((USART == HT_USART0) || \ argument
462 (IS_USART1(USART)) || \
463 (USART == HT_UART0) || \
464 (USART == HT_UART1))

Completed in 169 milliseconds

12345678