/Zephyr-latest/drivers/serial/ |
D | usart_sam.c | 11 * @brief USART driver for Atmel SAM MCU family. 26 Usart *regs; 50 Usart * const usart = config->regs; in usart_sam_poll_in() local 52 if (!(usart->US_CSR & US_CSR_RXRDY)) { in usart_sam_poll_in() 57 *c = (unsigned char)usart->US_RHR; in usart_sam_poll_in() 66 Usart * const usart = config->regs; in usart_sam_poll_out() local 69 while (!(usart->US_CSR & US_CSR_TXRDY)) { in usart_sam_poll_out() 73 usart->US_THR = (uint32_t)c; in usart_sam_poll_out() 80 volatile Usart * const usart = config->regs; in usart_sam_err_check() local 83 if (usart->US_CSR & US_CSR_OVRE) { in usart_sam_err_check() [all …]
|
D | uart_si32_usart.c | 20 SI32_USART_A_Type *usart; member 42 if (SI32_USART_A_read_rx_fifo_count(config->usart) != 0) { in usart_si32_poll_in() 43 *c = SI32_USART_A_read_data_u8(config->usart); in usart_si32_poll_in() 54 while (SI32_USART_A_read_tx_fifo_count(config->usart) || in usart_si32_poll_out() 55 SI32_USART_A_is_tx_busy(config->usart)) { in usart_si32_poll_out() 59 SI32_USART_A_write_data_u8(config->usart, c); in usart_si32_poll_out() 67 if (SI32_USART_A_is_tx_fifo_error_interrupt_pending(config->usart)) { in usart_si32_err_check() 68 SI32_USART_A_clear_tx_fifo_error_interrupt(config->usart); in usart_si32_err_check() 71 if (SI32_USART_A_is_rx_overrun_interrupt_pending(config->usart)) { in usart_si32_err_check() 72 SI32_USART_A_clear_rx_overrun_error_interrupt(config->usart); in usart_si32_err_check() [all …]
|
D | uart_stm32.c | 133 USART_TypeDef *usart = config->usart; in uart_stm32_set_baudrate() local 156 if (IS_LPUART_INSTANCE(usart)) { in uart_stm32_set_baudrate() 176 LL_LPUART_SetPrescaler(usart, presc_val); in uart_stm32_set_baudrate() 184 LL_LPUART_SetBaudRate(usart, in uart_stm32_set_baudrate() 191 __ASSERT(LL_LPUART_ReadReg(usart, BRR) >= 0x300U, in uart_stm32_set_baudrate() 195 __ASSERT(LL_LPUART_ReadReg(usart, BRR) < 0x000FFFFFU, in uart_stm32_set_baudrate() 200 LL_USART_SetOverSampling(usart, in uart_stm32_set_baudrate() 203 LL_USART_SetBaudRate(usart, in uart_stm32_set_baudrate() 213 __ASSERT(LL_USART_ReadReg(usart, BRR) >= 16, in uart_stm32_set_baudrate() 226 LL_USART_SetParity(config->usart, parity); in uart_stm32_set_parity() [all …]
|
D | Kconfig.wch_usart | 5 bool "CH32V00x USART driver" 11 This option enables the USART driver for CH32V00x SoC family.
|
D | Kconfig.usart_sam | 1 # Atmel SAM USART configuration options 7 bool "Atmel SAM MCU family USART driver"
|
D | Kconfig.mcux_flexcomm | 1 # MCUXpresso SDK USART 16 Enable the MCUX USART driver.
|
D | Kconfig.sam0 | 7 bool "Atmel SAM0 series SERCOM USART driver" 15 This option enables the SERCOMx USART driver for Atmel SAM0 MCUs.
|
D | uart_sam0.c | 92 static void wait_synchronization(SercomUsart *const usart) in wait_synchronization() argument 96 while ((usart->SYNCBUSY.reg & SERCOM_USART_SYNCBUSY_MASK) != 0) { in wait_synchronization() 100 while ((usart->STATUS.reg & SERCOM_USART_STATUS_SYNCBUSY) != 0) { in wait_synchronization() 107 static int uart_sam0_set_baudrate(SercomUsart *const usart, uint32_t baudrate, in uart_sam0_set_baudrate() argument 122 usart->BAUD.reg = baud; in uart_sam0_set_baudrate() 123 wait_synchronization(usart); in uart_sam0_set_baudrate() 397 SercomUsart * const usart = cfg->regs; in uart_sam0_configure() local 399 wait_synchronization(usart); in uart_sam0_configure() 401 usart->CTRLA.bit.ENABLE = 0; in uart_sam0_configure() 402 wait_synchronization(usart); in uart_sam0_configure() [all …]
|
/Zephyr-latest/dts/bindings/serial/ |
D | st,stm32-usart.yaml | 1 description: STM32 USART 3 compatible: "st,stm32-usart"
|
D | nxp,lpc-usart.yaml | 4 description: LPC USART 6 compatible: "nxp,lpc-usart"
|
D | atmel,sam-usart.yaml | 1 description: Atmel SAM family USART 3 compatible: "atmel,sam-usart"
|
D | silabs,si32-usart.yaml | 5 description: Si32 USART 7 compatible: "silabs,si32-usart"
|
D | gd,gd32-usart.yaml | 4 description: GigaDevice USART 6 compatible: "gd,gd32-usart"
|
D | silabs,gecko-usart.yaml | 1 description: Gecko USART 3 compatible: "silabs,gecko-usart"
|
/Zephyr-latest/dts/arm/silabs/ |
D | efm32gg11b.dtsi | 76 usart0: usart@40010000 { /* USART0 */ 77 compatible = "silabs,gecko-usart"; 85 usart1: usart@40010400 { /* USART1 */ 86 compatible = "silabs,gecko-usart"; 94 usart2: usart@40010800 { /* USART2 */ 95 compatible = "silabs,gecko-usart"; 103 usart3: usart@40010c00 { /* USART3 */ 104 compatible = "silabs,gecko-usart"; 112 usart4: usart@40011000 { /* USART4 */ 113 compatible = "silabs,gecko-usart"; [all …]
|
D | efm32gg12b.dtsi | 75 usart0: usart@40010000 { /* USART0 */ 76 compatible = "silabs,gecko-usart"; 84 usart1: usart@40010400 { /* USART1 */ 85 compatible = "silabs,gecko-usart"; 93 usart2: usart@40010800 { /* USART2 */ 94 compatible = "silabs,gecko-usart"; 102 usart3: usart@40010c00 { /* USART3 */ 103 compatible = "silabs,gecko-usart"; 111 usart4: usart@40011000 { /* USART4 */ 112 compatible = "silabs,gecko-usart";
|
D | efr32mg.dtsi | 45 usart0: usart@40010000 { /* USART0 */ 46 compatible = "silabs,gecko-usart"; 54 usart1: usart@40010400 { /* USART1 */ 55 compatible = "silabs,gecko-usart"; 63 usart2: usart@40010800 { /* USART2 */ 64 compatible = "silabs,gecko-usart"; 72 usart3: usart@40010c00 { /* USART3 */ 73 compatible = "silabs,gecko-usart";
|
/Zephyr-latest/boards/atmel/sam0/saml21_xpro/doc/ |
D | index.rst | 53 * - USART 89 - SERCOM1 USART TX : PA18 90 - SERCOM1 USART RX : PA19 93 - SERCOM3 USART TX : PA22 94 - SERCOM3 USART RX : PA23 95 - SERCOM4 USART TX : PB08 96 - SERCOM4 USART RX : PB09
|
/Zephyr-latest/boards/atmel/sam0/samc21n_xpro/doc/ |
D | index.rst | 58 * - USART 93 - SERCOM0 USART TX : PB24 94 - SERCOM0 USART RX : PB25 97 - SERCOM2 USART TX : PA12 98 - SERCOM2 USART RX : PA13 99 - SERCOM4 USART TX : PB10 100 - SERCOM4 USART RX : PB11
|
/Zephyr-latest/boards/atmel/sam0/samd21_xpro/doc/ |
D | index.rst | 56 * - USART 89 - SERCOM0 USART TX : PA10 90 - SERCOM0 USART RX : PA11 91 - SERCOM1 USART TX : PA16 92 - SERCOM1 USART RX : PA19 95 - SERCOM3 USART TX : PA22 96 - SERCOM3 USART RX : PA23
|
/Zephyr-latest/dts/arm/st/f0/ |
D | stm32f091.dtsi | 20 compatible = "st,stm32-usart", "st,stm32-uart"; 29 compatible = "st,stm32-usart", "st,stm32-uart"; 38 compatible = "st,stm32-usart", "st,stm32-uart"; 47 compatible = "st,stm32-usart", "st,stm32-uart";
|
D | stm32f030Xc.dtsi | 30 compatible = "st,stm32-usart", "st,stm32-uart"; 39 compatible = "st,stm32-usart", "st,stm32-uart"; 48 compatible = "st,stm32-usart", "st,stm32-uart"; 57 compatible = "st,stm32-usart", "st,stm32-uart";
|
/Zephyr-latest/dts/bindings/spi/ |
D | silabs,gecko-spi-usart.yaml | 1 description: GECKO USART SPI 3 compatible: "silabs,gecko-spi-usart"
|
/Zephyr-latest/dts/arm/atmel/ |
D | sam4l.dtsi | 132 usart0: usart@40024000 { 133 compatible = "atmel,sam-usart"; 139 usart1: usart@40028000 { 140 compatible = "atmel,sam-usart"; 146 usart2: usart@4002c000 { 147 compatible = "atmel,sam-usart"; 153 usart3: usart@40030000 { 154 compatible = "atmel,sam-usart";
|
/Zephyr-latest/dts/arm/gd/gd32l23x/ |
D | gd32l23x.dtsi | 69 usart0: usart@40013800 { 70 compatible = "gd,gd32-usart"; 78 usart1: usart@40004400 { 79 compatible = "gd,gd32-usart"; 87 uart3: usart@40004c00 { 88 compatible = "gd,gd32-usart";
|