|
|
@@ -66,37 +66,44 @@ typedef struct
|
|
|
|
|
|
uint32_t BaudRate; /*!< This field defines expected Usart communication baud rate.
|
|
|
|
|
|
- This feature can be modified afterwards using unitary function @ref LL_USART_SetBaudRate().*/
|
|
|
+ This feature can be modified afterwards using unitary
|
|
|
+ function @ref LL_USART_SetBaudRate().*/
|
|
|
|
|
|
uint32_t DataWidth; /*!< Specifies the number of data bits transmitted or received in a frame.
|
|
|
This parameter can be a value of @ref USART_LL_EC_DATAWIDTH.
|
|
|
|
|
|
- This feature can be modified afterwards using unitary function @ref LL_USART_SetDataWidth().*/
|
|
|
+ This feature can be modified afterwards using unitary
|
|
|
+ function @ref LL_USART_SetDataWidth().*/
|
|
|
|
|
|
uint32_t StopBits; /*!< Specifies the number of stop bits transmitted.
|
|
|
This parameter can be a value of @ref USART_LL_EC_STOPBITS.
|
|
|
|
|
|
- This feature can be modified afterwards using unitary function @ref LL_USART_SetStopBitsLength().*/
|
|
|
+ This feature can be modified afterwards using unitary
|
|
|
+ function @ref LL_USART_SetStopBitsLength().*/
|
|
|
|
|
|
uint32_t Parity; /*!< Specifies the parity mode.
|
|
|
This parameter can be a value of @ref USART_LL_EC_PARITY.
|
|
|
|
|
|
- This feature can be modified afterwards using unitary function @ref LL_USART_SetParity().*/
|
|
|
+ This feature can be modified afterwards using unitary
|
|
|
+ function @ref LL_USART_SetParity().*/
|
|
|
|
|
|
uint32_t TransferDirection; /*!< Specifies whether the Receive and/or Transmit mode is enabled or disabled.
|
|
|
This parameter can be a value of @ref USART_LL_EC_DIRECTION.
|
|
|
|
|
|
- This feature can be modified afterwards using unitary function @ref LL_USART_SetTransferDirection().*/
|
|
|
+ This feature can be modified afterwards using unitary
|
|
|
+ function @ref LL_USART_SetTransferDirection().*/
|
|
|
|
|
|
uint32_t HardwareFlowControl; /*!< Specifies whether the hardware flow control mode is enabled or disabled.
|
|
|
This parameter can be a value of @ref USART_LL_EC_HWCONTROL.
|
|
|
|
|
|
- This feature can be modified afterwards using unitary function @ref LL_USART_SetHWFlowCtrl().*/
|
|
|
+ This feature can be modified afterwards using unitary
|
|
|
+ function @ref LL_USART_SetHWFlowCtrl().*/
|
|
|
|
|
|
uint32_t OverSampling; /*!< Specifies whether USART oversampling mode is 16 or 8.
|
|
|
This parameter can be a value of @ref USART_LL_EC_OVERSAMPLING.
|
|
|
|
|
|
- This feature can be modified afterwards using unitary function @ref LL_USART_SetOverSampling().*/
|
|
|
+ This feature can be modified afterwards using unitary
|
|
|
+ function @ref LL_USART_SetOverSampling().*/
|
|
|
|
|
|
} LL_USART_InitTypeDef;
|
|
|
|
|
|
@@ -115,20 +122,23 @@ typedef struct
|
|
|
uint32_t ClockPolarity; /*!< Specifies the steady state of the serial clock.
|
|
|
This parameter can be a value of @ref USART_LL_EC_POLARITY.
|
|
|
|
|
|
- USART HW configuration can be modified afterwards using unitary functions @ref LL_USART_SetClockPolarity().
|
|
|
+ USART HW configuration can be modified afterwards using unitary
|
|
|
+ functions @ref LL_USART_SetClockPolarity().
|
|
|
For more details, refer to description of this function. */
|
|
|
|
|
|
uint32_t ClockPhase; /*!< Specifies the clock transition on which the bit capture is made.
|
|
|
This parameter can be a value of @ref USART_LL_EC_PHASE.
|
|
|
|
|
|
- USART HW configuration can be modified afterwards using unitary functions @ref LL_USART_SetClockPhase().
|
|
|
+ USART HW configuration can be modified afterwards using unitary
|
|
|
+ functions @ref LL_USART_SetClockPhase().
|
|
|
For more details, refer to description of this function. */
|
|
|
|
|
|
uint32_t LastBitClockPulse; /*!< Specifies whether the clock pulse corresponding to the last transmitted
|
|
|
data bit (MSB) has to be output on the SCLK pin in synchronous mode.
|
|
|
This parameter can be a value of @ref USART_LL_EC_LASTCLKPULSE.
|
|
|
|
|
|
- USART HW configuration can be modified afterwards using unitary functions @ref LL_USART_SetLastClkPulseOutput().
|
|
|
+ USART HW configuration can be modified afterwards using unitary
|
|
|
+ functions @ref LL_USART_SetLastClkPulseOutput().
|
|
|
For more details, refer to description of this function. */
|
|
|
|
|
|
} LL_USART_ClockInitTypeDef;
|
|
|
@@ -553,7 +563,7 @@ __STATIC_INLINE uint32_t LL_USART_IsEnabled(USART_TypeDef *USARTx)
|
|
|
* @brief USART enabled in STOP Mode.
|
|
|
* @note When this function is enabled, USART is able to wake up the MCU from Stop mode, provided that
|
|
|
* USART clock selection is HSI or LSE in RCC.
|
|
|
- * @note Macro @ref IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Wake-up from Stop mode feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR1 UESM LL_USART_EnableInStopMode
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -567,7 +577,7 @@ __STATIC_INLINE void LL_USART_EnableInStopMode(USART_TypeDef *USARTx)
|
|
|
/**
|
|
|
* @brief USART disabled in STOP Mode.
|
|
|
* @note When this function is disabled, USART is not able to wake up the MCU from Stop mode
|
|
|
- * @note Macro @ref IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Wake-up from Stop mode feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR1 UESM LL_USART_DisableInStopMode
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -580,7 +590,7 @@ __STATIC_INLINE void LL_USART_DisableInStopMode(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Indicate if USART is enabled in STOP Mode (able to wake up MCU from Stop mode or not)
|
|
|
- * @note Macro @ref IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Wake-up from Stop mode feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR1 UESM LL_USART_IsEnabledInStopMode
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -827,7 +837,7 @@ __STATIC_INLINE uint32_t LL_USART_GetOverSampling(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Configure if Clock pulse of the last data bit is output to the SCLK pin or not
|
|
|
- * @note Macro @ref IS_USART_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Synchronous mode is supported by the USARTx instance.
|
|
|
* @rmtoll CR2 LBCL LL_USART_SetLastClkPulseOutput
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -844,7 +854,7 @@ __STATIC_INLINE void LL_USART_SetLastClkPulseOutput(USART_TypeDef *USARTx, uint3
|
|
|
/**
|
|
|
* @brief Retrieve Clock pulse of the last data bit output configuration
|
|
|
* (Last bit Clock pulse output to the SCLK pin or not)
|
|
|
- * @note Macro @ref IS_USART_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Synchronous mode is supported by the USARTx instance.
|
|
|
* @rmtoll CR2 LBCL LL_USART_GetLastClkPulseOutput
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -859,7 +869,7 @@ __STATIC_INLINE uint32_t LL_USART_GetLastClkPulseOutput(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Select the phase of the clock output on the SCLK pin in synchronous mode
|
|
|
- * @note Macro @ref IS_USART_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Synchronous mode is supported by the USARTx instance.
|
|
|
* @rmtoll CR2 CPHA LL_USART_SetClockPhase
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -875,7 +885,7 @@ __STATIC_INLINE void LL_USART_SetClockPhase(USART_TypeDef *USARTx, uint32_t Cloc
|
|
|
|
|
|
/**
|
|
|
* @brief Return phase of the clock output on the SCLK pin in synchronous mode
|
|
|
- * @note Macro @ref IS_USART_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Synchronous mode is supported by the USARTx instance.
|
|
|
* @rmtoll CR2 CPHA LL_USART_GetClockPhase
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -890,7 +900,7 @@ __STATIC_INLINE uint32_t LL_USART_GetClockPhase(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Select the polarity of the clock output on the SCLK pin in synchronous mode
|
|
|
- * @note Macro @ref IS_USART_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Synchronous mode is supported by the USARTx instance.
|
|
|
* @rmtoll CR2 CPOL LL_USART_SetClockPolarity
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -906,7 +916,7 @@ __STATIC_INLINE void LL_USART_SetClockPolarity(USART_TypeDef *USARTx, uint32_t C
|
|
|
|
|
|
/**
|
|
|
* @brief Return polarity of the clock output on the SCLK pin in synchronous mode
|
|
|
- * @note Macro @ref IS_USART_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Synchronous mode is supported by the USARTx instance.
|
|
|
* @rmtoll CR2 CPOL LL_USART_GetClockPolarity
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -921,7 +931,7 @@ __STATIC_INLINE uint32_t LL_USART_GetClockPolarity(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Configure Clock signal format (Phase Polarity and choice about output of last bit clock pulse)
|
|
|
- * @note Macro @ref IS_USART_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Synchronous mode is supported by the USARTx instance.
|
|
|
* @note Call of this function is equivalent to following function call sequence :
|
|
|
* - Clock Phase configuration using @ref LL_USART_SetClockPhase() function
|
|
|
@@ -949,7 +959,7 @@ __STATIC_INLINE void LL_USART_ConfigClock(USART_TypeDef *USARTx, uint32_t Phase,
|
|
|
|
|
|
/**
|
|
|
* @brief Enable Clock output on SCLK pin
|
|
|
- * @note Macro @ref IS_USART_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Synchronous mode is supported by the USARTx instance.
|
|
|
* @rmtoll CR2 CLKEN LL_USART_EnableSCLKOutput
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -962,7 +972,7 @@ __STATIC_INLINE void LL_USART_EnableSCLKOutput(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Disable Clock output on SCLK pin
|
|
|
- * @note Macro @ref IS_USART_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Synchronous mode is supported by the USARTx instance.
|
|
|
* @rmtoll CR2 CLKEN LL_USART_DisableSCLKOutput
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -975,7 +985,7 @@ __STATIC_INLINE void LL_USART_DisableSCLKOutput(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Indicate if Clock output on SCLK pin is enabled
|
|
|
- * @note Macro @ref IS_USART_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Synchronous mode is supported by the USARTx instance.
|
|
|
* @rmtoll CR2 CLKEN LL_USART_IsEnabledSCLKOutput
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -1196,7 +1206,7 @@ __STATIC_INLINE uint32_t LL_USART_GetTransferBitOrder(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Enable Auto Baud-Rate Detection
|
|
|
- * @note Macro @ref IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Auto Baud Rate detection feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR2 ABREN LL_USART_EnableAutoBaudRate
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -1209,7 +1219,7 @@ __STATIC_INLINE void LL_USART_EnableAutoBaudRate(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Disable Auto Baud-Rate Detection
|
|
|
- * @note Macro @ref IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Auto Baud Rate detection feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR2 ABREN LL_USART_DisableAutoBaudRate
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -1222,7 +1232,7 @@ __STATIC_INLINE void LL_USART_DisableAutoBaudRate(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Indicate if Auto Baud-Rate Detection mechanism is enabled
|
|
|
- * @note Macro @ref IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Auto Baud Rate detection feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR2 ABREN LL_USART_IsEnabledAutoBaud
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -1235,7 +1245,7 @@ __STATIC_INLINE uint32_t LL_USART_IsEnabledAutoBaud(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Set Auto Baud-Rate mode bits
|
|
|
- * @note Macro @ref IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Auto Baud Rate detection feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR2 ABRMODE LL_USART_SetAutoBaudRateMode
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -1253,7 +1263,7 @@ __STATIC_INLINE void LL_USART_SetAutoBaudRateMode(USART_TypeDef *USARTx, uint32_
|
|
|
|
|
|
/**
|
|
|
* @brief Return Auto Baud-Rate mode
|
|
|
- * @note Macro @ref IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Auto Baud Rate detection feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR2 ABRMODE LL_USART_GetAutoBaudRateMode
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -1360,7 +1370,7 @@ __STATIC_INLINE uint32_t LL_USART_GetNodeAddressLen(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Enable RTS HW Flow Control
|
|
|
- * @note Macro @ref IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Hardware Flow control feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 RTSE LL_USART_EnableRTSHWFlowCtrl
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -1373,7 +1383,7 @@ __STATIC_INLINE void LL_USART_EnableRTSHWFlowCtrl(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Disable RTS HW Flow Control
|
|
|
- * @note Macro @ref IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Hardware Flow control feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 RTSE LL_USART_DisableRTSHWFlowCtrl
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -1386,7 +1396,7 @@ __STATIC_INLINE void LL_USART_DisableRTSHWFlowCtrl(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Enable CTS HW Flow Control
|
|
|
- * @note Macro @ref IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Hardware Flow control feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 CTSE LL_USART_EnableCTSHWFlowCtrl
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -1399,7 +1409,7 @@ __STATIC_INLINE void LL_USART_EnableCTSHWFlowCtrl(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Disable CTS HW Flow Control
|
|
|
- * @note Macro @ref IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Hardware Flow control feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 CTSE LL_USART_DisableCTSHWFlowCtrl
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -1412,7 +1422,7 @@ __STATIC_INLINE void LL_USART_DisableCTSHWFlowCtrl(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Configure HW Flow Control mode (both CTS and RTS)
|
|
|
- * @note Macro @ref IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Hardware Flow control feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 RTSE LL_USART_SetHWFlowCtrl\n
|
|
|
* CR3 CTSE LL_USART_SetHWFlowCtrl
|
|
|
@@ -1431,7 +1441,7 @@ __STATIC_INLINE void LL_USART_SetHWFlowCtrl(USART_TypeDef *USARTx, uint32_t Hard
|
|
|
|
|
|
/**
|
|
|
* @brief Return HW Flow Control configuration (both CTS and RTS)
|
|
|
- * @note Macro @ref IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Hardware Flow control feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 RTSE LL_USART_GetHWFlowCtrl\n
|
|
|
* CR3 CTSE LL_USART_GetHWFlowCtrl
|
|
|
@@ -1515,7 +1525,7 @@ __STATIC_INLINE uint32_t LL_USART_IsEnabledOverrunDetect(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Select event type for Wake UP Interrupt Flag (WUS[1:0] bits)
|
|
|
- * @note Macro @ref IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Wake-up from Stop mode feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 WUS LL_USART_SetWKUPType
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -1532,7 +1542,7 @@ __STATIC_INLINE void LL_USART_SetWKUPType(USART_TypeDef *USARTx, uint32_t Type)
|
|
|
|
|
|
/**
|
|
|
* @brief Return event type for Wake UP Interrupt Flag (WUS[1:0] bits)
|
|
|
- * @note Macro @ref IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Wake-up from Stop mode feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 WUS LL_USART_GetWKUPType
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -1566,7 +1576,7 @@ __STATIC_INLINE void LL_USART_SetBaudRate(USART_TypeDef *USARTx, uint32_t Periph
|
|
|
uint32_t BaudRate)
|
|
|
{
|
|
|
uint32_t usartdiv;
|
|
|
- register uint32_t brrtemp;
|
|
|
+ uint32_t brrtemp;
|
|
|
|
|
|
if (OverSampling == LL_USART_OVERSAMPLING_8)
|
|
|
{
|
|
|
@@ -1596,8 +1606,8 @@ __STATIC_INLINE void LL_USART_SetBaudRate(USART_TypeDef *USARTx, uint32_t Periph
|
|
|
*/
|
|
|
__STATIC_INLINE uint32_t LL_USART_GetBaudRate(USART_TypeDef *USARTx, uint32_t PeriphClk, uint32_t OverSampling)
|
|
|
{
|
|
|
- register uint32_t usartdiv;
|
|
|
- register uint32_t brrresult = 0x0U;
|
|
|
+ uint32_t usartdiv;
|
|
|
+ uint32_t brrresult = 0x0U;
|
|
|
|
|
|
usartdiv = USARTx->BRR;
|
|
|
|
|
|
@@ -1679,7 +1689,7 @@ __STATIC_INLINE uint32_t LL_USART_GetBlockLength(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Enable IrDA mode
|
|
|
- * @note Macro @ref IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* IrDA feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 IREN LL_USART_EnableIrda
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -1692,7 +1702,7 @@ __STATIC_INLINE void LL_USART_EnableIrda(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Disable IrDA mode
|
|
|
- * @note Macro @ref IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* IrDA feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 IREN LL_USART_DisableIrda
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -1705,7 +1715,7 @@ __STATIC_INLINE void LL_USART_DisableIrda(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Indicate if IrDA mode is enabled
|
|
|
- * @note Macro @ref IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* IrDA feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 IREN LL_USART_IsEnabledIrda
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -1718,7 +1728,7 @@ __STATIC_INLINE uint32_t LL_USART_IsEnabledIrda(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Configure IrDA Power Mode (Normal or Low Power)
|
|
|
- * @note Macro @ref IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* IrDA feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 IRLP LL_USART_SetIrdaPowerMode
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -1734,7 +1744,7 @@ __STATIC_INLINE void LL_USART_SetIrdaPowerMode(USART_TypeDef *USARTx, uint32_t P
|
|
|
|
|
|
/**
|
|
|
* @brief Retrieve IrDA Power Mode configuration (Normal or Low Power)
|
|
|
- * @note Macro @ref IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* IrDA feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 IRLP LL_USART_GetIrdaPowerMode
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -1750,7 +1760,7 @@ __STATIC_INLINE uint32_t LL_USART_GetIrdaPowerMode(USART_TypeDef *USARTx)
|
|
|
/**
|
|
|
* @brief Set Irda prescaler value, used for dividing the USART clock source
|
|
|
* to achieve the Irda Low Power frequency (8 bits value)
|
|
|
- * @note Macro @ref IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* IrDA feature is supported by the USARTx instance.
|
|
|
* @rmtoll GTPR PSC LL_USART_SetIrdaPrescaler
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -1765,7 +1775,7 @@ __STATIC_INLINE void LL_USART_SetIrdaPrescaler(USART_TypeDef *USARTx, uint32_t P
|
|
|
/**
|
|
|
* @brief Return Irda prescaler value, used for dividing the USART clock source
|
|
|
* to achieve the Irda Low Power frequency (8 bits value)
|
|
|
- * @note Macro @ref IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* IrDA feature is supported by the USARTx instance.
|
|
|
* @rmtoll GTPR PSC LL_USART_GetIrdaPrescaler
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -1786,7 +1796,7 @@ __STATIC_INLINE uint32_t LL_USART_GetIrdaPrescaler(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Enable Smartcard NACK transmission
|
|
|
- * @note Macro @ref IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Smartcard feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 NACK LL_USART_EnableSmartcardNACK
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -1799,7 +1809,7 @@ __STATIC_INLINE void LL_USART_EnableSmartcardNACK(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Disable Smartcard NACK transmission
|
|
|
- * @note Macro @ref IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Smartcard feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 NACK LL_USART_DisableSmartcardNACK
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -1812,7 +1822,7 @@ __STATIC_INLINE void LL_USART_DisableSmartcardNACK(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Indicate if Smartcard NACK transmission is enabled
|
|
|
- * @note Macro @ref IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Smartcard feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 NACK LL_USART_IsEnabledSmartcardNACK
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -1825,7 +1835,7 @@ __STATIC_INLINE uint32_t LL_USART_IsEnabledSmartcardNACK(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Enable Smartcard mode
|
|
|
- * @note Macro @ref IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Smartcard feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 SCEN LL_USART_EnableSmartcard
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -1838,7 +1848,7 @@ __STATIC_INLINE void LL_USART_EnableSmartcard(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Disable Smartcard mode
|
|
|
- * @note Macro @ref IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Smartcard feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 SCEN LL_USART_DisableSmartcard
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -1851,7 +1861,7 @@ __STATIC_INLINE void LL_USART_DisableSmartcard(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Indicate if Smartcard mode is enabled
|
|
|
- * @note Macro @ref IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Smartcard feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 SCEN LL_USART_IsEnabledSmartcard
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -1864,7 +1874,7 @@ __STATIC_INLINE uint32_t LL_USART_IsEnabledSmartcard(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Set Smartcard Auto-Retry Count value (SCARCNT[2:0] bits)
|
|
|
- * @note Macro @ref IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Smartcard feature is supported by the USARTx instance.
|
|
|
* @note This bit-field specifies the number of retries in transmit and receive, in Smartcard mode.
|
|
|
* In transmission mode, it specifies the number of automatic retransmission retries, before
|
|
|
@@ -1883,7 +1893,7 @@ __STATIC_INLINE void LL_USART_SetSmartcardAutoRetryCount(USART_TypeDef *USARTx,
|
|
|
|
|
|
/**
|
|
|
* @brief Return Smartcard Auto-Retry Count value (SCARCNT[2:0] bits)
|
|
|
- * @note Macro @ref IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Smartcard feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 SCARCNT LL_USART_GetSmartcardAutoRetryCount
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -1897,7 +1907,7 @@ __STATIC_INLINE uint32_t LL_USART_GetSmartcardAutoRetryCount(USART_TypeDef *USAR
|
|
|
/**
|
|
|
* @brief Set Smartcard prescaler value, used for dividing the USART clock
|
|
|
* source to provide the SMARTCARD Clock (5 bits value)
|
|
|
- * @note Macro @ref IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Smartcard feature is supported by the USARTx instance.
|
|
|
* @rmtoll GTPR PSC LL_USART_SetSmartcardPrescaler
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -1912,7 +1922,7 @@ __STATIC_INLINE void LL_USART_SetSmartcardPrescaler(USART_TypeDef *USARTx, uint3
|
|
|
/**
|
|
|
* @brief Return Smartcard prescaler value, used for dividing the USART clock
|
|
|
* source to provide the SMARTCARD Clock (5 bits value)
|
|
|
- * @note Macro @ref IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Smartcard feature is supported by the USARTx instance.
|
|
|
* @rmtoll GTPR PSC LL_USART_GetSmartcardPrescaler
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -1926,7 +1936,7 @@ __STATIC_INLINE uint32_t LL_USART_GetSmartcardPrescaler(USART_TypeDef *USARTx)
|
|
|
/**
|
|
|
* @brief Set Smartcard Guard time value, expressed in nb of baud clocks periods
|
|
|
* (GT[7:0] bits : Guard time value)
|
|
|
- * @note Macro @ref IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Smartcard feature is supported by the USARTx instance.
|
|
|
* @rmtoll GTPR GT LL_USART_SetSmartcardGuardTime
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -1941,7 +1951,7 @@ __STATIC_INLINE void LL_USART_SetSmartcardGuardTime(USART_TypeDef *USARTx, uint3
|
|
|
/**
|
|
|
* @brief Return Smartcard Guard time value, expressed in nb of baud clocks periods
|
|
|
* (GT[7:0] bits : Guard time value)
|
|
|
- * @note Macro @ref IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Smartcard feature is supported by the USARTx instance.
|
|
|
* @rmtoll GTPR GT LL_USART_GetSmartcardGuardTime
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -1962,7 +1972,7 @@ __STATIC_INLINE uint32_t LL_USART_GetSmartcardGuardTime(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Enable Single Wire Half-Duplex mode
|
|
|
- * @note Macro @ref IS_UART_HALFDUPLEX_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_HALFDUPLEX_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Half-Duplex mode is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 HDSEL LL_USART_EnableHalfDuplex
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -1975,7 +1985,7 @@ __STATIC_INLINE void LL_USART_EnableHalfDuplex(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Disable Single Wire Half-Duplex mode
|
|
|
- * @note Macro @ref IS_UART_HALFDUPLEX_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_HALFDUPLEX_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Half-Duplex mode is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 HDSEL LL_USART_DisableHalfDuplex
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -1988,7 +1998,7 @@ __STATIC_INLINE void LL_USART_DisableHalfDuplex(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Indicate if Single Wire Half-Duplex mode is enabled
|
|
|
- * @note Macro @ref IS_UART_HALFDUPLEX_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_HALFDUPLEX_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Half-Duplex mode is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 HDSEL LL_USART_IsEnabledHalfDuplex
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -2009,7 +2019,7 @@ __STATIC_INLINE uint32_t LL_USART_IsEnabledHalfDuplex(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Set LIN Break Detection Length
|
|
|
- * @note Macro @ref IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* LIN feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR2 LBDL LL_USART_SetLINBrkDetectionLen
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -2025,7 +2035,7 @@ __STATIC_INLINE void LL_USART_SetLINBrkDetectionLen(USART_TypeDef *USARTx, uint3
|
|
|
|
|
|
/**
|
|
|
* @brief Return LIN Break Detection Length
|
|
|
- * @note Macro @ref IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* LIN feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR2 LBDL LL_USART_GetLINBrkDetectionLen
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -2040,7 +2050,7 @@ __STATIC_INLINE uint32_t LL_USART_GetLINBrkDetectionLen(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Enable LIN mode
|
|
|
- * @note Macro @ref IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* LIN feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR2 LINEN LL_USART_EnableLIN
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -2053,7 +2063,7 @@ __STATIC_INLINE void LL_USART_EnableLIN(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Disable LIN mode
|
|
|
- * @note Macro @ref IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* LIN feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR2 LINEN LL_USART_DisableLIN
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -2066,7 +2076,7 @@ __STATIC_INLINE void LL_USART_DisableLIN(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Indicate if LIN mode is enabled
|
|
|
- * @note Macro @ref IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* LIN feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR2 LINEN LL_USART_IsEnabledLIN
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -2087,7 +2097,7 @@ __STATIC_INLINE uint32_t LL_USART_IsEnabledLIN(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Set DEDT (Driver Enable De-Assertion Time), Time value expressed on 5 bits ([4:0] bits).
|
|
|
- * @note Macro @ref IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Driver Enable feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR1 DEDT LL_USART_SetDEDeassertionTime
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -2101,7 +2111,7 @@ __STATIC_INLINE void LL_USART_SetDEDeassertionTime(USART_TypeDef *USARTx, uint32
|
|
|
|
|
|
/**
|
|
|
* @brief Return DEDT (Driver Enable De-Assertion Time)
|
|
|
- * @note Macro @ref IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Driver Enable feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR1 DEDT LL_USART_GetDEDeassertionTime
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -2114,7 +2124,7 @@ __STATIC_INLINE uint32_t LL_USART_GetDEDeassertionTime(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Set DEAT (Driver Enable Assertion Time), Time value expressed on 5 bits ([4:0] bits).
|
|
|
- * @note Macro @ref IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Driver Enable feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR1 DEAT LL_USART_SetDEAssertionTime
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -2128,7 +2138,7 @@ __STATIC_INLINE void LL_USART_SetDEAssertionTime(USART_TypeDef *USARTx, uint32_t
|
|
|
|
|
|
/**
|
|
|
* @brief Return DEAT (Driver Enable Assertion Time)
|
|
|
- * @note Macro @ref IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Driver Enable feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR1 DEAT LL_USART_GetDEAssertionTime
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -2141,7 +2151,7 @@ __STATIC_INLINE uint32_t LL_USART_GetDEAssertionTime(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Enable Driver Enable (DE) Mode
|
|
|
- * @note Macro @ref IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Driver Enable feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 DEM LL_USART_EnableDEMode
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -2154,7 +2164,7 @@ __STATIC_INLINE void LL_USART_EnableDEMode(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Disable Driver Enable (DE) Mode
|
|
|
- * @note Macro @ref IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Driver Enable feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 DEM LL_USART_DisableDEMode
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -2167,7 +2177,7 @@ __STATIC_INLINE void LL_USART_DisableDEMode(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Indicate if Driver Enable (DE) Mode is enabled
|
|
|
- * @note Macro @ref IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Driver Enable feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 DEM LL_USART_IsEnabledDEMode
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -2180,7 +2190,7 @@ __STATIC_INLINE uint32_t LL_USART_IsEnabledDEMode(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Select Driver Enable Polarity
|
|
|
- * @note Macro @ref IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Driver Enable feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 DEP LL_USART_SetDESignalPolarity
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -2196,7 +2206,7 @@ __STATIC_INLINE void LL_USART_SetDESignalPolarity(USART_TypeDef *USARTx, uint32_
|
|
|
|
|
|
/**
|
|
|
* @brief Return Driver Enable Polarity
|
|
|
- * @note Macro @ref IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Driver Enable feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 DEP LL_USART_GetDESignalPolarity
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -2260,7 +2270,7 @@ __STATIC_INLINE void LL_USART_ConfigAsyncMode(USART_TypeDef *USARTx)
|
|
|
* - IREN bit in the USART_CR3 register,
|
|
|
* - HDSEL bit in the USART_CR3 register.
|
|
|
* This function also sets the USART in Synchronous mode.
|
|
|
- * @note Macro @ref IS_USART_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Synchronous mode is supported by the USARTx instance.
|
|
|
* @note Call of this function is equivalent to following function call sequence :
|
|
|
* - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
|
|
|
@@ -2299,7 +2309,7 @@ __STATIC_INLINE void LL_USART_ConfigSyncMode(USART_TypeDef *USARTx)
|
|
|
* - IREN bit in the USART_CR3 register,
|
|
|
* - HDSEL bit in the USART_CR3 register.
|
|
|
* This function also set the UART/USART in LIN mode.
|
|
|
- * @note Macro @ref IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* LIN feature is supported by the USARTx instance.
|
|
|
* @note Call of this function is equivalent to following function call sequence :
|
|
|
* - Clear CLKEN in CR2 using @ref LL_USART_DisableSCLKOutput() function
|
|
|
@@ -2340,7 +2350,7 @@ __STATIC_INLINE void LL_USART_ConfigLINMode(USART_TypeDef *USARTx)
|
|
|
* - SCEN bit in the USART_CR3 register,
|
|
|
* - IREN bit in the USART_CR3 register,
|
|
|
* This function also sets the UART/USART in Half Duplex mode.
|
|
|
- * @note Macro @ref IS_UART_HALFDUPLEX_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_HALFDUPLEX_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Half-Duplex mode is supported by the USARTx instance.
|
|
|
* @note Call of this function is equivalent to following function call sequence :
|
|
|
* - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
|
|
|
@@ -2380,7 +2390,7 @@ __STATIC_INLINE void LL_USART_ConfigHalfDuplexMode(USART_TypeDef *USARTx)
|
|
|
* This function also configures Stop bits to 1.5 bits and
|
|
|
* sets the USART in Smartcard mode (SCEN bit).
|
|
|
* Clock Output is also enabled (CLKEN).
|
|
|
- * @note Macro @ref IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Smartcard feature is supported by the USARTx instance.
|
|
|
* @note Call of this function is equivalent to following function call sequence :
|
|
|
* - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
|
|
|
@@ -2423,7 +2433,7 @@ __STATIC_INLINE void LL_USART_ConfigSmartcardMode(USART_TypeDef *USARTx)
|
|
|
* - SCEN bit in the USART_CR3 register,
|
|
|
* - HDSEL bit in the USART_CR3 register.
|
|
|
* This function also sets the UART/USART in IRDA mode (IREN bit).
|
|
|
- * @note Macro @ref IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* IrDA feature is supported by the USARTx instance.
|
|
|
* @note Call of this function is equivalent to following function call sequence :
|
|
|
* - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
|
|
|
@@ -2591,7 +2601,7 @@ __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TXE(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Check if the USART LIN Break Detection Flag is set or not
|
|
|
- * @note Macro @ref IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* LIN feature is supported by the USARTx instance.
|
|
|
* @rmtoll ISR LBDF LL_USART_IsActiveFlag_LBD
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -2604,7 +2614,7 @@ __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_LBD(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Check if the USART CTS interrupt Flag is set or not
|
|
|
- * @note Macro @ref IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Hardware Flow control feature is supported by the USARTx instance.
|
|
|
* @rmtoll ISR CTSIF LL_USART_IsActiveFlag_nCTS
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -2617,7 +2627,7 @@ __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_nCTS(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Check if the USART CTS Flag is set or not
|
|
|
- * @note Macro @ref IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Hardware Flow control feature is supported by the USARTx instance.
|
|
|
* @rmtoll ISR CTS LL_USART_IsActiveFlag_CTS
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -2641,7 +2651,7 @@ __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RTO(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Check if the USART End Of Block Flag is set or not
|
|
|
- * @note Macro @ref IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Smartcard feature is supported by the USARTx instance.
|
|
|
* @rmtoll ISR EOBF LL_USART_IsActiveFlag_EOB
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -2654,7 +2664,7 @@ __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_EOB(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Check if the USART Auto-Baud Rate Error Flag is set or not
|
|
|
- * @note Macro @ref IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Auto Baud Rate detection feature is supported by the USARTx instance.
|
|
|
* @rmtoll ISR ABRE LL_USART_IsActiveFlag_ABRE
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -2667,7 +2677,7 @@ __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_ABRE(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Check if the USART Auto-Baud Rate Flag is set or not
|
|
|
- * @note Macro @ref IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Auto Baud Rate detection feature is supported by the USARTx instance.
|
|
|
* @rmtoll ISR ABRF LL_USART_IsActiveFlag_ABR
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -2724,7 +2734,7 @@ __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RWU(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Check if the USART Wake Up from stop mode Flag is set or not
|
|
|
- * @note Macro @ref IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Wake-up from Stop mode feature is supported by the USARTx instance.
|
|
|
* @rmtoll ISR WUF LL_USART_IsActiveFlag_WKUP
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -2826,7 +2836,7 @@ __STATIC_INLINE void LL_USART_ClearFlag_TC(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Clear LIN Break Detection Flag
|
|
|
- * @note Macro @ref IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* LIN feature is supported by the USARTx instance.
|
|
|
* @rmtoll ICR LBDCF LL_USART_ClearFlag_LBD
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -2839,7 +2849,7 @@ __STATIC_INLINE void LL_USART_ClearFlag_LBD(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Clear CTS Interrupt Flag
|
|
|
- * @note Macro @ref IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Hardware Flow control feature is supported by the USARTx instance.
|
|
|
* @rmtoll ICR CTSCF LL_USART_ClearFlag_nCTS
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -2863,7 +2873,7 @@ __STATIC_INLINE void LL_USART_ClearFlag_RTO(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Clear End Of Block Flag
|
|
|
- * @note Macro @ref IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Smartcard feature is supported by the USARTx instance.
|
|
|
* @rmtoll ICR EOBCF LL_USART_ClearFlag_EOB
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -2887,7 +2897,7 @@ __STATIC_INLINE void LL_USART_ClearFlag_CM(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Clear Wake Up from stop mode Flag
|
|
|
- * @note Macro @ref IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Wake-up from Stop mode feature is supported by the USARTx instance.
|
|
|
* @rmtoll ICR WUCF LL_USART_ClearFlag_WKUP
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -2985,7 +2995,7 @@ __STATIC_INLINE void LL_USART_EnableIT_RTO(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Enable End Of Block Interrupt
|
|
|
- * @note Macro @ref IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Smartcard feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR1 EOBIE LL_USART_EnableIT_EOB
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -2998,7 +3008,7 @@ __STATIC_INLINE void LL_USART_EnableIT_EOB(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Enable LIN Break Detection Interrupt
|
|
|
- * @note Macro @ref IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* LIN feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR2 LBDIE LL_USART_EnableIT_LBD
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -3026,7 +3036,7 @@ __STATIC_INLINE void LL_USART_EnableIT_ERROR(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Enable CTS Interrupt
|
|
|
- * @note Macro @ref IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Hardware Flow control feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 CTSIE LL_USART_EnableIT_CTS
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -3039,7 +3049,7 @@ __STATIC_INLINE void LL_USART_EnableIT_CTS(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Enable Wake Up from Stop Mode Interrupt
|
|
|
- * @note Macro @ref IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Wake-up from Stop mode feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 WUFIE LL_USART_EnableIT_WKUP
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -3130,7 +3140,7 @@ __STATIC_INLINE void LL_USART_DisableIT_RTO(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Disable End Of Block Interrupt
|
|
|
- * @note Macro @ref IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Smartcard feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR1 EOBIE LL_USART_DisableIT_EOB
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -3143,7 +3153,7 @@ __STATIC_INLINE void LL_USART_DisableIT_EOB(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Disable LIN Break Detection Interrupt
|
|
|
- * @note Macro @ref IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* LIN feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR2 LBDIE LL_USART_DisableIT_LBD
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -3171,7 +3181,7 @@ __STATIC_INLINE void LL_USART_DisableIT_ERROR(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Disable CTS Interrupt
|
|
|
- * @note Macro @ref IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Hardware Flow control feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 CTSIE LL_USART_DisableIT_CTS
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -3184,7 +3194,7 @@ __STATIC_INLINE void LL_USART_DisableIT_CTS(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Disable Wake Up from Stop Mode Interrupt
|
|
|
- * @note Macro @ref IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Wake-up from Stop mode feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 WUFIE LL_USART_DisableIT_WKUP
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -3275,7 +3285,7 @@ __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_RTO(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Check if the USART End Of Block Interrupt is enabled or disabled.
|
|
|
- * @note Macro @ref IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Smartcard feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR1 EOBIE LL_USART_IsEnabledIT_EOB
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -3288,7 +3298,7 @@ __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_EOB(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Check if the USART LIN Break Detection Interrupt is enabled or disabled.
|
|
|
- * @note Macro @ref IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* LIN feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR2 LBDIE LL_USART_IsEnabledIT_LBD
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -3312,7 +3322,7 @@ __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_ERROR(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Check if the USART CTS Interrupt is enabled or disabled.
|
|
|
- * @note Macro @ref IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Hardware Flow control feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 CTSIE LL_USART_IsEnabledIT_CTS
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -3325,7 +3335,7 @@ __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_CTS(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Check if the USART Wake Up from Stop Mode Interrupt is enabled or disabled.
|
|
|
- * @note Macro @ref IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Wake-up from Stop mode feature is supported by the USARTx instance.
|
|
|
* @rmtoll CR3 WUFIE LL_USART_IsEnabledIT_WKUP
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -3456,7 +3466,7 @@ __STATIC_INLINE uint32_t LL_USART_IsEnabledDMADeactOnRxErr(USART_TypeDef *USARTx
|
|
|
*/
|
|
|
__STATIC_INLINE uint32_t LL_USART_DMA_GetRegAddr(USART_TypeDef *USARTx, uint32_t Direction)
|
|
|
{
|
|
|
- register uint32_t data_reg_addr;
|
|
|
+ uint32_t data_reg_addr;
|
|
|
|
|
|
if (Direction == LL_USART_DMA_REG_DATA_TRANSMIT)
|
|
|
{
|
|
|
@@ -3536,7 +3546,7 @@ __STATIC_INLINE void LL_USART_TransmitData9(USART_TypeDef *USARTx, uint16_t Valu
|
|
|
|
|
|
/**
|
|
|
* @brief Request an Automatic Baud Rate measurement on next received data frame
|
|
|
- * @note Macro @ref IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Auto Baud Rate detection feature is supported by the USARTx instance.
|
|
|
* @rmtoll RQR ABRRQ LL_USART_RequestAutoBaudRate
|
|
|
* @param USARTx USART Instance
|
|
|
@@ -3584,7 +3594,7 @@ __STATIC_INLINE void LL_USART_RequestRxDataFlush(USART_TypeDef *USARTx)
|
|
|
|
|
|
/**
|
|
|
* @brief Request a Transmit data flush
|
|
|
- * @note Macro @ref IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
+ * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
|
|
|
* Smartcard feature is supported by the USARTx instance.
|
|
|
* @rmtoll RQR TXFRQ LL_USART_RequestTxDataFlush
|
|
|
* @param USARTx USART Instance
|