STM32F439xx HAL User Manual
Functions
Configuration functions related to Smartcard feature
USART Exported Functions

Functions

__STATIC_INLINE void LL_USART_EnableSmartcardNACK (USART_TypeDef *USARTx)
 Enable Smartcard NACK transmission.
__STATIC_INLINE void LL_USART_DisableSmartcardNACK (USART_TypeDef *USARTx)
 Disable Smartcard NACK transmission.
__STATIC_INLINE uint32_t LL_USART_IsEnabledSmartcardNACK (USART_TypeDef *USARTx)
 Indicate if Smartcard NACK transmission is enabled.
__STATIC_INLINE void LL_USART_EnableSmartcard (USART_TypeDef *USARTx)
 Enable Smartcard mode.
__STATIC_INLINE void LL_USART_DisableSmartcard (USART_TypeDef *USARTx)
 Disable Smartcard mode.
__STATIC_INLINE uint32_t LL_USART_IsEnabledSmartcard (USART_TypeDef *USARTx)
 Indicate if Smartcard mode is enabled.
__STATIC_INLINE void LL_USART_SetSmartcardPrescaler (USART_TypeDef *USARTx, uint32_t PrescalerValue)
 Set Smartcard prescaler value, used for dividing the USART clock source to provide the SMARTCARD Clock (5 bits value)
__STATIC_INLINE uint32_t LL_USART_GetSmartcardPrescaler (USART_TypeDef *USARTx)
 Return Smartcard prescaler value, used for dividing the USART clock source to provide the SMARTCARD Clock (5 bits value)
__STATIC_INLINE void LL_USART_SetSmartcardGuardTime (USART_TypeDef *USARTx, uint32_t GuardTime)
 Set Smartcard Guard time value, expressed in nb of baud clocks periods (GT[7:0] bits : Guard time value)
__STATIC_INLINE uint32_t LL_USART_GetSmartcardGuardTime (USART_TypeDef *USARTx)
 Return Smartcard Guard time value, expressed in nb of baud clocks periods (GT[7:0] bits : Guard time value)

Function Documentation

__STATIC_INLINE void LL_USART_DisableSmartcard ( USART_TypeDef *  USARTx)

Disable Smartcard mode.

Note:
Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not Smartcard feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR3 SCEN LL_USART_DisableSmartcard
Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 1260 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE void LL_USART_DisableSmartcardNACK ( USART_TypeDef *  USARTx)

Disable Smartcard NACK transmission.

Note:
Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not Smartcard feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR3 NACK LL_USART_DisableSmartcardNACK
Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 1221 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE void LL_USART_EnableSmartcard ( USART_TypeDef *  USARTx)

Enable Smartcard mode.

Note:
Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not Smartcard feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR3 SCEN LL_USART_EnableSmartcard
Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 1247 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE void LL_USART_EnableSmartcardNACK ( USART_TypeDef *  USARTx)

Enable Smartcard NACK transmission.

Note:
Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not Smartcard feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR3 NACK LL_USART_EnableSmartcardNACK
Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 1208 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE uint32_t LL_USART_GetSmartcardGuardTime ( USART_TypeDef *  USARTx)

Return Smartcard Guard time value, expressed in nb of baud clocks periods (GT[7:0] bits : Guard time value)

Note:
Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not Smartcard feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
GTPR GT LL_USART_GetSmartcardGuardTime
Parameters:
USARTxUSART Instance
Return values:
SmartcardGuard time value (Value between Min_Data=0x00 and Max_Data=0xFF)

Definition at line 1331 of file stm32f4xx_ll_usart.h.

References USART_POSITION_GTPR_GT.

__STATIC_INLINE uint32_t LL_USART_GetSmartcardPrescaler ( USART_TypeDef *  USARTx)

Return Smartcard prescaler value, used for dividing the USART clock source to provide the SMARTCARD Clock (5 bits value)

Note:
Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not Smartcard feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
GTPR PSC LL_USART_GetSmartcardPrescaler
Parameters:
USARTxUSART Instance
Return values:
Smartcardprescaler value (Value between Min_Data=0 and Max_Data=31)

Definition at line 1302 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE uint32_t LL_USART_IsEnabledSmartcard ( USART_TypeDef *  USARTx)

Indicate if Smartcard mode is enabled.

Note:
Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not Smartcard feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR3 SCEN LL_USART_IsEnabledSmartcard
Parameters:
USARTxUSART Instance
Return values:
Stateof bit (1 or 0).

Definition at line 1273 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE uint32_t LL_USART_IsEnabledSmartcardNACK ( USART_TypeDef *  USARTx)

Indicate if Smartcard NACK transmission is enabled.

Note:
Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not Smartcard feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR3 NACK LL_USART_IsEnabledSmartcardNACK
Parameters:
USARTxUSART Instance
Return values:
Stateof bit (1 or 0).

Definition at line 1234 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE void LL_USART_SetSmartcardGuardTime ( USART_TypeDef *  USARTx,
uint32_t  GuardTime 
)

Set Smartcard Guard time value, expressed in nb of baud clocks periods (GT[7:0] bits : Guard time value)

Note:
Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not Smartcard feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
GTPR GT LL_USART_SetSmartcardGuardTime
Parameters:
USARTxUSART Instance
GuardTimeValue between Min_Data=0x00 and Max_Data=0xFF
Return values:
None

Definition at line 1317 of file stm32f4xx_ll_usart.h.

References USART_POSITION_GTPR_GT.

__STATIC_INLINE void LL_USART_SetSmartcardPrescaler ( USART_TypeDef *  USARTx,
uint32_t  PrescalerValue 
)

Set Smartcard prescaler value, used for dividing the USART clock source to provide the SMARTCARD Clock (5 bits value)

Note:
Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not Smartcard feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
GTPR PSC LL_USART_SetSmartcardPrescaler
Parameters:
USARTxUSART Instance
PrescalerValueValue between Min_Data=0 and Max_Data=31
Return values:
None

Definition at line 1288 of file stm32f4xx_ll_usart.h.