Home
last modified time | relevance | path

Searched refs:USART_CR1_RE (Results 1 – 16 of 16) sorted by relevance

/device/soc/st/common/platform/uart/
Dstm32mp1_uart_hw.c36 #define USART_CR1_RE BIT(2) // 串口接收使能 macro
141 val &= ~(USART_CR1_EN | USART_CR1_RE | USART_CR1_TE); in Mp1xxUartHwEnable()
144 val |= (USART_CR1_EN | USART_CR1_RE | USART_CR1_TE); in Mp1xxUartHwEnable()
146 val &= ~(USART_CR1_EN | USART_CR1_RE | USART_CR1_TE); in Mp1xxUartHwEnable()
/device/soc/st/stm32f4xx/sdk/Drivers/STM32F4xx_HAL_Driver/Inc/
Dstm32f4xx_ll_usart.h193 #define LL_USART_DIRECTION_RX USART_CR1_RE /*!< Transmitter…
195 #define LL_USART_DIRECTION_TX_RX (USART_CR1_TE |USART_CR1_RE) /*!< Transmitter…
449 ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_RE); in LL_USART_EnableDirectionRx()
460 ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_RE); in LL_USART_DisableDirectionRx()
500 ATOMIC_MODIFY_REG(USARTx->CR1, USART_CR1_RE | USART_CR1_TE, TransferDirection); in LL_USART_SetTransferDirection()
516 return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_RE | USART_CR1_TE)); in LL_USART_GetTransferDirection()
Dstm32f4xx_hal_irda.h273 #define IRDA_MODE_RX ((uint32_t)USART_CR1_RE)
275 #define IRDA_MODE_TX_RX ((uint32_t)(USART_CR1_TE |USART_CR1_RE))
Dstm32f4xx_hal_usart.h227 #define USART_MODE_RX ((uint32_t)USART_CR1_RE)
229 #define USART_MODE_TX_RX ((uint32_t)(USART_CR1_TE | USART_CR1_RE))
Dstm32f4xx_hal_uart.h299 #define UART_MODE_RX ((uint32_t)USART_CR1_RE)
301 #define UART_MODE_TX_RX ((uint32_t)(USART_CR1_TE | USART_CR1_RE))
/device/soc/st/common/platform/stm32mp1xx_hal/STM32MP1xx_HAL_Driver/Inc/
Dstm32mp1xx_hal_usart.h271 #define USART_MODE_RX USART_CR1_RE /*!< RX mode */
273 #define USART_MODE_TX_RX (USART_CR1_TE |USART_CR1_RE) /*!< RX and TX mode */
Dstm32mp1xx_hal_uart.h379 #define UART_MODE_RX USART_CR1_RE /*!< RX mode */
381 #define UART_MODE_TX_RX (USART_CR1_TE |USART_CR1_RE) /*!< RX and TX mode */
Dstm32mp157axx_ca7.h28873 #define USART_CR1_RE USART_CR1_RE_Msk /*!< Receiver Enable… macro
/device/soc/st/common/platform/stm32mp1xx_hal/STM32MP1xx_HAL_Driver/Src/
Dstm32mp1xx_hal_uart.c176 USART_CR1_TE | USART_CR1_RE | USART_CR1_OVER8| \
2980 CLEAR_BIT(huart->Instance->CR1, (USART_CR1_TE | USART_CR1_RE)); in HAL_HalfDuplex_EnableTransmitter()
3003 CLEAR_BIT(huart->Instance->CR1, (USART_CR1_TE | USART_CR1_RE)); in HAL_HalfDuplex_EnableReceiver()
3006 SET_BIT(huart->Instance->CR1, USART_CR1_RE); in HAL_HalfDuplex_EnableReceiver()
3396 if ((huart->Instance->CR1 & USART_CR1_RE) == USART_CR1_RE) in UART_CheckIdleState()
3447 if (READ_BIT(huart->Instance->CR1, USART_CR1_RE) != 0U) in UART_WaitOnFlagUntilTimeout()
/device/soc/st/stm32f4xx/sdk/Drivers/STM32F4xx_HAL_Driver/Src/
Dstm32f4xx_ll_usart.c278 USART_CR1_TE | USART_CR1_RE | USART_CR1_OVER8), in LL_USART_Init()
Dstm32f4xx_hal_uart.c2843 tmpreg &= (uint32_t)~((uint32_t)(USART_CR1_TE | USART_CR1_RE)); in HAL_HalfDuplex_EnableTransmitter()
2878 tmpreg &= (uint32_t)~((uint32_t)(USART_CR1_TE | USART_CR1_RE)); in HAL_HalfDuplex_EnableReceiver()
2881 tmpreg |= (uint32_t)USART_CR1_RE; in HAL_HalfDuplex_EnableReceiver()
3689 …(uint32_t)(USART_CR1_M | USART_CR1_PCE | USART_CR1_PS | USART_CR1_TE | USART_CR1_RE | USART_CR1_OV… in UART_SetConfig()
Dstm32f4xx_hal_usart.c2743 CLEAR_BIT(husart->Instance->CR1, (USART_CR1_TE | USART_CR1_RE)); in USART_SetConfig()
2764 USART_CR1_RE | USART_CR1_OVER8)); in USART_SetConfig()
Dstm32f4xx_hal_irda.c2619 …(hirda->Instance->CR1, (USART_CR1_M | USART_CR1_PCE | USART_CR1_PS | USART_CR1_TE | USART_CR1_RE)); in IRDA_SetConfig()
/device/soc/st/stm32f407zg/uniproton/board/common/STM32F4xx_StdPeriph_Driver/src/
Dstm32f4xx_usart.c111 USART_CR1_RE))
/device/soc/st/stm32f407zg/uniproton/board/common/
Dstm32f4xx.h8556 #define USART_CR1_RE ((uint16_t)0x0004) /*!<Receiver Enable … macro
/device/soc/st/stm32f4xx/sdk/Drivers/CMSIS/Device/ST/STM32F4xx/Include/
Dstm32f407xx.h12523 #define USART_CR1_RE USART_CR1_RE_Msk /*!<Receiver Enable … macro