/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/ |
D | stm32l0xx_ll_usart.h | 1398 SET_BIT(USARTx->CR3, USART_CR3_RTSE); in LL_USART_EnableRTSHWFlowCtrl() 1411 CLEAR_BIT(USARTx->CR3, USART_CR3_RTSE); in LL_USART_DisableRTSHWFlowCtrl() 1424 SET_BIT(USARTx->CR3, USART_CR3_CTSE); in LL_USART_EnableCTSHWFlowCtrl() 1437 CLEAR_BIT(USARTx->CR3, USART_CR3_CTSE); in LL_USART_DisableCTSHWFlowCtrl() 1456 MODIFY_REG(USARTx->CR3, USART_CR3_RTSE | USART_CR3_CTSE, HardwareFlowControl); in LL_USART_SetHWFlowCtrl() 1474 return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_RTSE | USART_CR3_CTSE)); in LL_USART_GetHWFlowCtrl() 1485 SET_BIT(USARTx->CR3, USART_CR3_ONEBIT); in LL_USART_EnableOneBitSamp() 1496 CLEAR_BIT(USARTx->CR3, USART_CR3_ONEBIT); in LL_USART_DisableOneBitSamp() 1507 return (READ_BIT(USARTx->CR3, USART_CR3_ONEBIT) == (USART_CR3_ONEBIT)); in LL_USART_IsEnabledOneBitSamp() 1518 CLEAR_BIT(USARTx->CR3, USART_CR3_OVRDIS); in LL_USART_EnableOverrunDetect() [all …]
|
D | stm32l0xx_ll_lpuart.h | 949 SET_BIT(LPUARTx->CR3, USART_CR3_RTSE); in LL_LPUART_EnableRTSHWFlowCtrl() 960 CLEAR_BIT(LPUARTx->CR3, USART_CR3_RTSE); in LL_LPUART_DisableRTSHWFlowCtrl() 971 SET_BIT(LPUARTx->CR3, USART_CR3_CTSE); in LL_LPUART_EnableCTSHWFlowCtrl() 982 CLEAR_BIT(LPUARTx->CR3, USART_CR3_CTSE); in LL_LPUART_DisableCTSHWFlowCtrl() 999 MODIFY_REG(LPUARTx->CR3, USART_CR3_RTSE | USART_CR3_CTSE, HardwareFlowControl); in LL_LPUART_SetHWFlowCtrl() 1015 return (uint32_t)(READ_BIT(LPUARTx->CR3, USART_CR3_RTSE | USART_CR3_CTSE)); in LL_LPUART_GetHWFlowCtrl() 1026 CLEAR_BIT(LPUARTx->CR3, USART_CR3_OVRDIS); in LL_LPUART_EnableOverrunDetect() 1037 SET_BIT(LPUARTx->CR3, USART_CR3_OVRDIS); in LL_LPUART_DisableOverrunDetect() 1048 return (READ_BIT(LPUARTx->CR3, USART_CR3_OVRDIS) != USART_CR3_OVRDIS); in LL_LPUART_IsEnabledOverrunDetect() 1063 MODIFY_REG(LPUARTx->CR3, USART_CR3_WUS, Type); in LL_LPUART_SetWKUPType() [all …]
|
D | stm32l0xx_hal_uart.h | 814 … ((__HANDLE__)->Instance->CR3 |= (1U << ((__INTERRUPT__) & UART_IT_MASK)))) 835 … ((__HANDLE__)->Instance->CR3 &= ~ (1U << ((__INTERRUPT__) & UART_IT_MASK)))) 874 …(__HANDLE__)->Instance->CR2 : (__HANDLE__)->Instance->CR3)) & ((uint32_t)1U << (((uint16_t)(__IT__… 914 #define __HAL_UART_ONE_BIT_SAMPLE_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR3|= USART_CR3_ONEBI… 920 #define __HAL_UART_ONE_BIT_SAMPLE_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR3 &= (uint32_t)~((… 948 SET_BIT((__HANDLE__)->Instance->CR3, USART_CR3_CTSE); \ 966 CLEAR_BIT((__HANDLE__)->Instance->CR3, USART_CR3_CTSE); \ 984 SET_BIT((__HANDLE__)->Instance->CR3, USART_CR3_RTSE); \ 1002 CLEAR_BIT((__HANDLE__)->Instance->CR3, USART_CR3_RTSE);\ 1010 #define __HAL_UART_ONE_BIT_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR3|= USART_CR3_ONEBIT) [all …]
|
D | stm32l0xx_hal_smartcard.h | 692 … ((__HANDLE__)->Instance->CR3 |= (1U << ((__INTERRUPT__) & SMARTCARD_IT_MASK)))) 710 … ((__HANDLE__)->Instance->CR3 &= ~ (1U << ((__INTERRUPT__) & SMARTCARD_IT_MASK)))) 747 … (__HANDLE__)->Instance->CR3)) & ((uint32_t)1U << (((uint16_t)(__IT__)) & SMARTCARD_IT_MASK))) 782 #define __HAL_SMARTCARD_ONE_BIT_SAMPLE_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR3|= USART_CR3_… 788 #define __HAL_SMARTCARD_ONE_BIT_SAMPLE_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR3 &= (uint32_… 810 #define __HAL_SMARTCARD_DMA_REQUEST_ENABLE(__HANDLE__, __REQUEST__) ((__HANDLE__)->Instance->CR3… 811 #define __HAL_SMARTCARD_DMA_REQUEST_DISABLE(__HANDLE__, __REQUEST__) ((__HANDLE__)->Instance->CR3…
|
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/ |
D | stm32l1xx_ll_usart.h | 898 SET_BIT(USARTx->CR3, USART_CR3_RTSE); in LL_USART_EnableRTSHWFlowCtrl() 911 CLEAR_BIT(USARTx->CR3, USART_CR3_RTSE); in LL_USART_DisableRTSHWFlowCtrl() 924 SET_BIT(USARTx->CR3, USART_CR3_CTSE); in LL_USART_EnableCTSHWFlowCtrl() 937 CLEAR_BIT(USARTx->CR3, USART_CR3_CTSE); in LL_USART_DisableCTSHWFlowCtrl() 956 MODIFY_REG(USARTx->CR3, USART_CR3_RTSE | USART_CR3_CTSE, HardwareFlowControl); in LL_USART_SetHWFlowCtrl() 974 return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_RTSE | USART_CR3_CTSE)); in LL_USART_GetHWFlowCtrl() 985 SET_BIT(USARTx->CR3, USART_CR3_ONEBIT); in LL_USART_EnableOneBitSamp() 996 CLEAR_BIT(USARTx->CR3, USART_CR3_ONEBIT); in LL_USART_DisableOneBitSamp() 1007 return (READ_BIT(USARTx->CR3, USART_CR3_ONEBIT) == (USART_CR3_ONEBIT)); in LL_USART_IsEnabledOneBitSamp() 1093 SET_BIT(USARTx->CR3, USART_CR3_IREN); in LL_USART_EnableIrda() [all …]
|
D | stm32l1xx_hal_uart.h | 436 … ((__HANDLE__)->Instance->CR3 |= ((__INTERRUPT__) & UART_IT_MASK))) 457 … ((__HANDLE__)->Instance->CR3 &= ~ ((__INTERRUPT__) & UART_IT_MASK))) 475 …(__HANDLE__)->Instance->CR2 : (__HANDLE__)->Instance->CR3)) & (((uint32_t)(__IT__)) & UART_IT_MASK… 483 #define __HAL_UART_ONE_BIT_SAMPLE_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR3|= USART_CR3_ONEBI… 484 #define __HAL_UART_ONE_BIT_SAMPLE_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR3 &= (uint16_t)~((… 502 SET_BIT((__HANDLE__)->Instance->CR3, USART_CR3_CTSE); \ 522 CLEAR_BIT((__HANDLE__)->Instance->CR3, USART_CR3_CTSE); \ 542 SET_BIT((__HANDLE__)->Instance->CR3, USART_CR3_RTSE); \ 562 CLEAR_BIT((__HANDLE__)->Instance->CR3, USART_CR3_RTSE);\
|
D | stm32l1xx_hal_smartcard.h | 476 … ((__HANDLE__)->Instance->CR3 |= ((__INTERRUPT__) & SMARTCARD_IT_MASK))) 491 … ((__HANDLE__)->Instance->CR3 &= ~ ((__INTERRUPT__) & SMARTCARD_IT_MASK))) 506 …TCARD_CR1_REG_INDEX)? (__HANDLE__)->Instance->CR1: (__HANDLE__)->Instance->CR3) & (((uint32_t)(__I… 512 #define __HAL_SMARTCARD_ONE_BIT_SAMPLE_ENABLE(__HANDLE__) (SET_BIT((__HANDLE__)->Instance->CR3, (U… 518 #define __HAL_SMARTCARD_ONE_BIT_SAMPLE_DISABLE(__HANDLE__) (CLEAR_BIT((__HANDLE__)->Instance->CR3, … 543 …MA_REQUEST_ENABLE(__HANDLE__, __REQUEST__) (SET_BIT((__HANDLE__)->Instance->CR3, (__REQUEST__))) 554 …_REQUEST_DISABLE(__HANDLE__, __REQUEST__) (CLEAR_BIT((__HANDLE__)->Instance->CR3, (__REQUEST__)))
|
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/ |
D | stm32l4xx_ll_usart.h | 782 MODIFY_REG(USARTx->CR3, USART_CR3_TXFTCFG, Threshold << USART_CR3_TXFTCFG_Pos); in LL_USART_SetTXFIFOThreshold() 801 return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_TXFTCFG) >> USART_CR3_TXFTCFG_Pos); in LL_USART_GetTXFIFOThreshold() 821 MODIFY_REG(USARTx->CR3, USART_CR3_RXFTCFG, Threshold << USART_CR3_RXFTCFG_Pos); in LL_USART_SetRXFIFOThreshold() 840 return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_RXFTCFG) >> USART_CR3_RXFTCFG_Pos); in LL_USART_GetRXFIFOThreshold() 868 …MODIFY_REG(USARTx->CR3, USART_CR3_TXFTCFG | USART_CR3_RXFTCFG, (TXThreshold << USART_CR3_TXFTCFG_P… in LL_USART_ConfigFIFOsThreshold() 924 SET_BIT(USARTx->CR3, USART_CR3_UCESM); in LL_USART_EnableClockInStopMode() 936 CLEAR_BIT(USARTx->CR3, USART_CR3_UCESM); in LL_USART_DisableClockInStopMode() 947 return (READ_BIT(USARTx->CR3, USART_CR3_UCESM) == (USART_CR3_UCESM)); in LL_USART_IsClockEnabledInStopMode() 1775 SET_BIT(USARTx->CR3, USART_CR3_RTSE); in LL_USART_EnableRTSHWFlowCtrl() 1788 CLEAR_BIT(USARTx->CR3, USART_CR3_RTSE); in LL_USART_DisableRTSHWFlowCtrl() [all …]
|
D | stm32l4xx_ll_lpuart.h | 608 MODIFY_REG(LPUARTx->CR3, USART_CR3_TXFTCFG, Threshold << USART_CR3_TXFTCFG_Pos); in LL_LPUART_SetTXFIFOThreshold() 625 return (uint32_t)(READ_BIT(LPUARTx->CR3, USART_CR3_TXFTCFG) >> USART_CR3_TXFTCFG_Pos); in LL_LPUART_GetTXFIFOThreshold() 643 MODIFY_REG(LPUARTx->CR3, USART_CR3_RXFTCFG, Threshold << USART_CR3_RXFTCFG_Pos); in LL_LPUART_SetRXFIFOThreshold() 660 return (uint32_t)(READ_BIT(LPUARTx->CR3, USART_CR3_RXFTCFG) >> USART_CR3_RXFTCFG_Pos); in LL_LPUART_GetRXFIFOThreshold() 686 …MODIFY_REG(LPUARTx->CR3, USART_CR3_TXFTCFG | USART_CR3_RXFTCFG, TXThreshold << USART_CR3_TXFTCFG_P… in LL_LPUART_ConfigFIFOsThreshold() 737 SET_BIT(LPUARTx->CR3, USART_CR3_UCESM); in LL_LPUART_EnableClockInStopMode() 749 CLEAR_BIT(LPUARTx->CR3, USART_CR3_UCESM); in LL_LPUART_DisableClockInStopMode() 760 return (READ_BIT(LPUARTx->CR3, USART_CR3_UCESM) == (USART_CR3_UCESM)); in LL_LPUART_IsClockEnabledInStopMode() 1279 SET_BIT(LPUARTx->CR3, USART_CR3_RTSE); in LL_LPUART_EnableRTSHWFlowCtrl() 1290 CLEAR_BIT(LPUARTx->CR3, USART_CR3_RTSE); in LL_LPUART_DisableRTSHWFlowCtrl() [all …]
|
D | stm32l4xx_ll_pwr.h | 496 SET_BIT(PWR->CR3, PWR_CR3_DSIPDEN); in LL_PWR_EnableDSIPinsPDActivation() 506 CLEAR_BIT(PWR->CR3, PWR_CR3_DSIPDEN); in LL_PWR_DisableDSIPinsPDActivation() 516 return ((READ_BIT(PWR->CR3, PWR_CR3_DSIPDEN) == (PWR_CR3_DSIPDEN)) ? 1UL : 0UL); in LL_PWR_IsEnabledDSIPinsPDActivation() 718 SET_BIT(PWR->CR3, PWR_CR3_EIWF); in LL_PWR_EnableInternWU() 728 CLEAR_BIT(PWR->CR3, PWR_CR3_EIWF); in LL_PWR_DisableInternWU() 738 return ((READ_BIT(PWR->CR3, PWR_CR3_EIWF) == (PWR_CR3_EIWF)) ? 1UL : 0UL); in LL_PWR_IsEnabledInternWU() 748 SET_BIT(PWR->CR3, PWR_CR3_APC); in LL_PWR_EnablePUPDCfg() 758 CLEAR_BIT(PWR->CR3, PWR_CR3_APC); in LL_PWR_DisablePUPDCfg() 768 return ((READ_BIT(PWR->CR3, PWR_CR3_APC) == (PWR_CR3_APC)) ? 1UL : 0UL); in LL_PWR_IsEnabledPUPDCfg() 779 SET_BIT(PWR->CR3, PWR_CR3_DSIPDEN); in LL_PWR_EnableDSIPullDown() [all …]
|
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/ |
D | stm32l0xx_hal_irda.c | 290 CLEAR_BIT(hirda->Instance->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL)); in HAL_IRDA_Init() 293 hirda->Instance->CR3 |= USART_CR3_IREN; in HAL_IRDA_Init() 741 SET_BIT(hirda->Instance->CR3, USART_CR3_EIE); in HAL_IRDA_Receive_IT() 817 SET_BIT(hirda->Instance->CR3, USART_CR3_DMAT); in HAL_IRDA_Transmit_DMA() 893 SET_BIT(hirda->Instance->CR3, USART_CR3_EIE); in HAL_IRDA_Receive_DMA() 897 SET_BIT(hirda->Instance->CR3, USART_CR3_DMAR); in HAL_IRDA_Receive_DMA() 920 (HAL_IS_BIT_SET(hirda->Instance->CR3, USART_CR3_DMAT))) in HAL_IRDA_DMAPause() 923 CLEAR_BIT(hirda->Instance->CR3, USART_CR3_DMAT); in HAL_IRDA_DMAPause() 926 (HAL_IS_BIT_SET(hirda->Instance->CR3, USART_CR3_DMAR))) in HAL_IRDA_DMAPause() 930 CLEAR_BIT(hirda->Instance->CR3, USART_CR3_EIE); in HAL_IRDA_DMAPause() [all …]
|
D | stm32l0xx_hal_smartcard.c | 280 CLEAR_BIT(hsmartcard->Instance->CR3, (USART_CR3_HDSEL | USART_CR3_IREN)); in HAL_SMARTCARD_Init() 283 SET_BIT(hsmartcard->Instance->CR3, USART_CR3_SCEN); in HAL_SMARTCARD_Init() 327 WRITE_REG(hsmartcard->Instance->CR3, 0x0); in HAL_SMARTCARD_DeInit() 640 SET_BIT(hsmartcard->Instance->CR3, USART_CR3_EIE); in HAL_SMARTCARD_Transmit_IT() 688 SET_BIT(hsmartcard->Instance->CR3, USART_CR3_EIE); in HAL_SMARTCARD_Receive_IT() 756 SET_BIT(hsmartcard->Instance->CR3, USART_CR3_EIE); in HAL_SMARTCARD_Transmit_DMA() 760 SET_BIT(hsmartcard->Instance->CR3, USART_CR3_DMAT); in HAL_SMARTCARD_Transmit_DMA() 818 SET_BIT(hsmartcard->Instance->CR3, USART_CR3_EIE); in HAL_SMARTCARD_Receive_DMA() 822 SET_BIT(hsmartcard->Instance->CR3, USART_CR3_DMAR); in HAL_SMARTCARD_Receive_DMA() 849 CLEAR_BIT(hsmartcard->Instance->CR3, USART_CR3_EIE); in HAL_SMARTCARD_Abort() [all …]
|
D | stm32l0xx_hal_uart.c | 273 CLEAR_BIT(huart->Instance->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL | USART_CR3_IREN)); in HAL_UART_Init() 328 CLEAR_BIT(huart->Instance->CR3, (USART_CR3_IREN | USART_CR3_SCEN)); in HAL_HalfDuplex_Init() 331 SET_BIT(huart->Instance->CR3, USART_CR3_HDSEL); in HAL_HalfDuplex_Init() 404 CLEAR_BIT(huart->Instance->CR3, (USART_CR3_HDSEL | USART_CR3_IREN | USART_CR3_SCEN)); in HAL_LIN_Init() 478 CLEAR_BIT(huart->Instance->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL | USART_CR3_IREN)); in HAL_MultiProcessor_Init() 520 huart->Instance->CR3 = 0x0U; in HAL_UART_DeInit() 922 SET_BIT(huart->Instance->CR3, USART_CR3_EIE); in HAL_UART_Receive_IT() 1000 SET_BIT(huart->Instance->CR3, USART_CR3_DMAT); in HAL_UART_Transmit_DMA() 1074 SET_BIT(huart->Instance->CR3, USART_CR3_EIE); in HAL_UART_Receive_DMA() 1078 SET_BIT(huart->Instance->CR3, USART_CR3_DMAR); in HAL_UART_Receive_DMA() [all …]
|
D | stm32l0xx_hal_usart.c | 236 husart->Instance->CR3 &= ~(USART_CR3_SCEN | USART_CR3_HDSEL | USART_CR3_IREN); in HAL_USART_Init() 265 husart->Instance->CR3 = 0x0U; in HAL_USART_DeInit() 795 SET_BIT(husart->Instance->CR3, USART_CR3_EIE); in HAL_USART_Receive_IT() 868 SET_BIT(husart->Instance->CR3, USART_CR3_EIE); in HAL_USART_TransmitReceive_IT() 948 SET_BIT(husart->Instance->CR3, USART_CR3_DMAT); in HAL_USART_Transmit_DMA() 1036 SET_BIT(husart->Instance->CR3, USART_CR3_EIE); in HAL_USART_Receive_DMA() 1040 SET_BIT(husart->Instance->CR3, USART_CR3_DMAR); in HAL_USART_Receive_DMA() 1044 SET_BIT(husart->Instance->CR3, USART_CR3_DMAT); in HAL_USART_Receive_DMA() 1133 SET_BIT(husart->Instance->CR3, USART_CR3_EIE); in HAL_USART_TransmitReceive_DMA() 1143 SET_BIT(husart->Instance->CR3, USART_CR3_DMAR); in HAL_USART_TransmitReceive_DMA() [all …]
|
D | stm32l0xx_hal_uart_ex.c | 209 SET_BIT(huart->Instance->CR3, USART_CR3_DEM); in HAL_RS485Ex_Init() 212 MODIFY_REG(huart->Instance->CR3, USART_CR3_DEP, Polarity); in HAL_RS485Ex_Init() 328 MODIFY_REG(huart->Instance->CR3, USART_CR3_WUS, WakeUpSelection.WakeUpEvent); in HAL_UARTEx_StopModeWakeUpSourceConfig() 420 SET_BIT(huart->Instance->CR3, USART_CR3_UCESM); in HAL_UARTEx_EnableClockStopMode() 443 CLEAR_BIT(huart->Instance->CR3, USART_CR3_UCESM); in HAL_UARTEx_DisableClockStopMode()
|
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/ |
D | stm32l4xx_hal_smartcard.c | 385 CLEAR_BIT(hsmartcard->Instance->CR3, (USART_CR3_HDSEL | USART_CR3_IREN)); in HAL_SMARTCARD_Init() 388 SET_BIT(hsmartcard->Instance->CR3, USART_CR3_SCEN); in HAL_SMARTCARD_Init() 435 WRITE_REG(hsmartcard->Instance->CR3, 0x0U); in HAL_SMARTCARD_DeInit() 1028 SET_BIT(hsmartcard->Instance->CR3, USART_CR3_EIE); in HAL_SMARTCARD_Transmit_IT() 1031 SET_BIT(hsmartcard->Instance->CR3, USART_CR3_TXFTIE); in HAL_SMARTCARD_Transmit_IT() 1043 SET_BIT(hsmartcard->Instance->CR3, USART_CR3_EIE); in HAL_SMARTCARD_Transmit_IT() 1108 SET_BIT(hsmartcard->Instance->CR3, USART_CR3_RXFTIE); in HAL_SMARTCARD_Receive_IT() 1128 SET_BIT(hsmartcard->Instance->CR3, USART_CR3_EIE); in HAL_SMARTCARD_Receive_IT() 1200 SET_BIT(hsmartcard->Instance->CR3, USART_CR3_EIE); in HAL_SMARTCARD_Transmit_DMA() 1204 SET_BIT(hsmartcard->Instance->CR3, USART_CR3_DMAT); in HAL_SMARTCARD_Transmit_DMA() [all …]
|
D | stm32l4xx_hal_irda.c | 398 CLEAR_BIT(hirda->Instance->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL)); in HAL_IRDA_Init() 401 hirda->Instance->CR3 |= USART_CR3_IREN; in HAL_IRDA_Init() 1071 SET_BIT(hirda->Instance->CR3, USART_CR3_EIE); in HAL_IRDA_Receive_IT() 1132 SET_BIT(hirda->Instance->CR3, USART_CR3_DMAT); in HAL_IRDA_Transmit_DMA() 1207 SET_BIT(hirda->Instance->CR3, USART_CR3_EIE); in HAL_IRDA_Receive_DMA() 1211 SET_BIT(hirda->Instance->CR3, USART_CR3_DMAR); in HAL_IRDA_Receive_DMA() 1249 if (HAL_IS_BIT_SET(hirda->Instance->CR3, USART_CR3_DMAT)) in HAL_IRDA_DMAPause() 1252 CLEAR_BIT(hirda->Instance->CR3, USART_CR3_DMAT); in HAL_IRDA_DMAPause() 1257 if (HAL_IS_BIT_SET(hirda->Instance->CR3, USART_CR3_DMAR)) in HAL_IRDA_DMAPause() 1261 CLEAR_BIT(hirda->Instance->CR3, USART_CR3_EIE); in HAL_IRDA_DMAPause() [all …]
|
D | stm32l4xx_hal_uart.c | 387 CLEAR_BIT(huart->Instance->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL | USART_CR3_IREN)); in HAL_UART_Init() 454 CLEAR_BIT(huart->Instance->CR3, (USART_CR3_IREN | USART_CR3_SCEN)); in HAL_HalfDuplex_Init() 457 SET_BIT(huart->Instance->CR3, USART_CR3_HDSEL); in HAL_HalfDuplex_Init() 542 CLEAR_BIT(huart->Instance->CR3, (USART_CR3_HDSEL | USART_CR3_IREN | USART_CR3_SCEN)); in HAL_LIN_Init() 628 CLEAR_BIT(huart->Instance->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL | USART_CR3_IREN)); in HAL_MultiProcessor_Init() 670 huart->Instance->CR3 = 0x0U; in HAL_UART_DeInit() 1274 SET_BIT(huart->Instance->CR3, USART_CR3_TXFTIE); in HAL_UART_Transmit_IT() 1340 SET_BIT(huart->Instance->CR3, USART_CR3_EIE); in HAL_UART_Receive_IT() 1361 SET_BIT(huart->Instance->CR3, USART_CR3_RXFTIE); in HAL_UART_Receive_IT() 1445 SET_BIT(huart->Instance->CR3, USART_CR3_DMAT); in HAL_UART_Transmit_DMA() [all …]
|
D | stm32l4xx_hal_usart.c | 348 husart->Instance->CR3 &= ~(USART_CR3_SCEN | USART_CR3_HDSEL | USART_CR3_IREN); in HAL_USART_Init() 377 husart->Instance->CR3 = 0x0U; in HAL_USART_DeInit() 1235 SET_BIT(husart->Instance->CR3, USART_CR3_EIE); in HAL_USART_Receive_IT() 1256 SET_BIT(husart->Instance->CR3, USART_CR3_RXFTIE); in HAL_USART_Receive_IT() 1367 SET_BIT(husart->Instance->CR3, USART_CR3_EIE); in HAL_USART_TransmitReceive_IT() 1373 SET_BIT(husart->Instance->CR3, (USART_CR3_TXFTIE | USART_CR3_RXFTIE)); in HAL_USART_TransmitReceive_IT() 1393 SET_BIT(husart->Instance->CR3, USART_CR3_EIE); in HAL_USART_TransmitReceive_IT() 1473 SET_BIT(husart->Instance->CR3, USART_CR3_DMAT); in HAL_USART_Transmit_DMA() 1574 SET_BIT(husart->Instance->CR3, USART_CR3_EIE); in HAL_USART_Receive_DMA() 1578 SET_BIT(husart->Instance->CR3, USART_CR3_DMAR); in HAL_USART_Receive_DMA() [all …]
|
D | stm32l4xx_hal_uart_ex.c | 242 SET_BIT(huart->Instance->CR3, USART_CR3_DEM); in HAL_RS485Ex_Init() 245 MODIFY_REG(huart->Instance->CR3, USART_CR3_DEP, Polarity); in HAL_RS485Ex_Init() 379 SET_BIT(huart->Instance->CR3, USART_CR3_UCESM); in HAL_UARTEx_EnableClockStopMode() 398 CLEAR_BIT(huart->Instance->CR3, USART_CR3_UCESM); in HAL_UARTEx_DisableClockStopMode() 478 MODIFY_REG(huart->Instance->CR3, USART_CR3_WUS, WakeUpSelection.WakeUpEvent); in HAL_UARTEx_StopModeWakeUpSourceConfig() 661 MODIFY_REG(huart->Instance->CR3, USART_CR3_TXFTCFG, Threshold); in HAL_UARTEx_SetTxFifoThreshold() 710 MODIFY_REG(huart->Instance->CR3, USART_CR3_RXFTCFG, Threshold); in HAL_UARTEx_SetRxFifoThreshold() 782 …rx_fifo_threshold = (uint8_t)(READ_BIT(huart->Instance->CR3, USART_CR3_RXFTCFG) >> USART_CR3_RXFTC… in UARTEx_SetNbDataToProcess() 783 …tx_fifo_threshold = (uint8_t)(READ_BIT(huart->Instance->CR3, USART_CR3_TXFTCFG) >> USART_CR3_TXFTC… in UARTEx_SetNbDataToProcess()
|
D | stm32l4xx_hal_pwr_ex.c | 372 SET_BIT(PWR->CR3, PWR_CR3_EIWF); in HAL_PWREx_EnableInternalWakeUpLine() 382 CLEAR_BIT(PWR->CR3, PWR_CR3_EIWF); in HAL_PWREx_DisableInternalWakeUpLine() 723 SET_BIT(PWR->CR3, PWR_CR3_APC); in HAL_PWREx_EnablePullUpPullDownConfig() 735 CLEAR_BIT(PWR->CR3, PWR_CR3_APC); in HAL_PWREx_DisablePullUpPullDownConfig() 748 SET_BIT(PWR->CR3, PWR_CR3_RRS); in HAL_PWREx_EnableSRAM2ContentRetention() 760 CLEAR_BIT(PWR->CR3, PWR_CR3_RRS); in HAL_PWREx_DisableSRAM2ContentRetention() 772 SET_BIT(PWR->CR3, PWR_CR3_EN_ULP); in HAL_PWREx_EnableBORPVD_ULP() 783 CLEAR_BIT(PWR->CR3, PWR_CR3_EN_ULP); in HAL_PWREx_DisableBORPVD_ULP() 846 SET_BIT(PWR->CR3, PWR_CR3_DSIPDEN); in HAL_PWREx_EnableDSIPinsPDActivation() 856 CLEAR_BIT(PWR->CR3, PWR_CR3_DSIPDEN); in HAL_PWREx_DisableDSIPinsPDActivation()
|
D | stm32l4xx_hal_usart_ex.c | 213 CLEAR_BIT(husart->Instance->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL | USART_CR3_IREN)); in HAL_USARTEx_EnableSlaveMode() 434 MODIFY_REG(husart->Instance->CR3, USART_CR3_TXFTCFG, Threshold); in HAL_USARTEx_SetTxFifoThreshold() 483 MODIFY_REG(husart->Instance->CR3, USART_CR3_RXFTCFG, Threshold); in HAL_USARTEx_SetRxFifoThreshold() 539 …rx_fifo_threshold = (uint8_t)((READ_BIT(husart->Instance->CR3, USART_CR3_RXFTCFG) >> USART_CR3_RXF… in USARTEx_SetNbDataToProcess() 540 …tx_fifo_threshold = (uint8_t)((READ_BIT(husart->Instance->CR3, USART_CR3_TXFTCFG) >> USART_CR3_TXF… in USARTEx_SetNbDataToProcess()
|
D | stm32l4xx_hal_smartcard_ex.c | 391 MODIFY_REG(hsmartcard->Instance->CR3, USART_CR3_TXFTCFG, Threshold); in HAL_SMARTCARDEx_SetTxFifoThreshold() 440 MODIFY_REG(hsmartcard->Instance->CR3, USART_CR3_RXFTCFG, Threshold); in HAL_SMARTCARDEx_SetRxFifoThreshold() 496 …rx_fifo_threshold = (uint8_t)(READ_BIT(hsmartcard->Instance->CR3, USART_CR3_RXFTCFG) >> USART_CR3_… in SMARTCARDEx_SetNbDataToProcess() 497 …tx_fifo_threshold = (uint8_t)(READ_BIT(hsmartcard->Instance->CR3, USART_CR3_TXFTCFG) >> USART_CR3_… in SMARTCARDEx_SetNbDataToProcess()
|
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/ |
D | stm32l1xx_hal_irda.c | 276 CLEAR_BIT(hirda->Instance->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL)); in HAL_IRDA_Init() 285 MODIFY_REG(hirda->Instance->CR3, USART_CR3_IRLP, hirda->Init.IrDAMode); in HAL_IRDA_Init() 288 SET_BIT(hirda->Instance->CR3, USART_CR3_IREN); in HAL_IRDA_Init() 777 SET_BIT(hirda->Instance->CR3, USART_CR3_DMAT); in HAL_IRDA_Transmit_DMA() 842 SET_BIT(hirda->Instance->CR3, USART_CR3_DMAR); in HAL_IRDA_Receive_DMA() 869 CLEAR_BIT(hirda->Instance->CR3, USART_CR3_DMAT); in HAL_IRDA_DMAPause() 874 CLEAR_BIT(hirda->Instance->CR3, USART_CR3_DMAR); in HAL_IRDA_DMAPause() 879 CLEAR_BIT(hirda->Instance->CR3, (USART_CR3_DMAT | USART_CR3_DMAR)); in HAL_IRDA_DMAPause() 909 SET_BIT(hirda->Instance->CR3, USART_CR3_DMAT); in HAL_IRDA_DMAResume() 916 SET_BIT(hirda->Instance->CR3, USART_CR3_DMAR); in HAL_IRDA_DMAResume() [all …]
|
D | stm32l1xx_hal_uart.c | 291 CLEAR_BIT(huart->Instance->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL | USART_CR3_IREN)); in HAL_UART_Init() 344 CLEAR_BIT(huart->Instance->CR3, (USART_CR3_IREN | USART_CR3_SCEN)); in HAL_HalfDuplex_Init() 347 SET_BIT(huart->Instance->CR3, USART_CR3_HDSEL); in HAL_HalfDuplex_Init() 406 CLEAR_BIT(huart->Instance->CR3, (USART_CR3_HDSEL | USART_CR3_IREN | USART_CR3_SCEN)); in HAL_LIN_Init() 474 CLEAR_BIT(huart->Instance->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL | USART_CR3_IREN)); in HAL_MultiProcessor_Init() 516 huart->Instance->CR3 = 0x0; in HAL_UART_DeInit() 984 SET_BIT(huart->Instance->CR3, USART_CR3_DMAT); in HAL_UART_Transmit_DMA() 1052 SET_BIT(huart->Instance->CR3, USART_CR3_DMAR); in HAL_UART_Receive_DMA() 1079 CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAT); in HAL_UART_DMAPause() 1084 CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR); in HAL_UART_DMAPause() [all …]
|