STM32F4xx_HAL_Driver  1.8.3
Configuration functions related to Smartcard feature
+ Collaboration diagram for Configuration functions related to Smartcard feature:

Functions

__STATIC_INLINE void LL_USART_EnableSmartcardNACK (USART_TypeDef *USARTx)
 Enable Smartcard NACK transmission. More...
 
__STATIC_INLINE void LL_USART_DisableSmartcardNACK (USART_TypeDef *USARTx)
 Disable Smartcard NACK transmission. More...
 
__STATIC_INLINE uint32_t LL_USART_IsEnabledSmartcardNACK (const USART_TypeDef *USARTx)
 Indicate if Smartcard NACK transmission is enabled. More...
 
__STATIC_INLINE void LL_USART_EnableSmartcard (USART_TypeDef *USARTx)
 Enable Smartcard mode. More...
 
__STATIC_INLINE void LL_USART_DisableSmartcard (USART_TypeDef *USARTx)
 Disable Smartcard mode. More...
 
__STATIC_INLINE uint32_t LL_USART_IsEnabledSmartcard (const USART_TypeDef *USARTx)
 Indicate if Smartcard mode is enabled. More...
 
__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) More...
 
__STATIC_INLINE uint32_t LL_USART_GetSmartcardPrescaler (const USART_TypeDef *USARTx)
 Return Smartcard prescaler value, used for dividing the USART clock source to provide the SMARTCARD Clock (5 bits value) More...
 
__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) More...
 
__STATIC_INLINE uint32_t LL_USART_GetSmartcardGuardTime (const USART_TypeDef *USARTx)
 Return Smartcard Guard time value, expressed in nb of baud clocks periods (GT[7:0] bits : Guard time value) More...
 

Detailed Description

Function Documentation

◆ LL_USART_DisableSmartcard()

__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. @rmtoll CR3 SCEN LL_USART_DisableSmartcard
Parameters
USARTxUSART Instance
Return values
None

Definition at line 1245 of file stm32f4xx_ll_usart.h.

◆ LL_USART_DisableSmartcardNACK()

__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. @rmtoll CR3 NACK LL_USART_DisableSmartcardNACK
Parameters
USARTxUSART Instance
Return values
None

Definition at line 1206 of file stm32f4xx_ll_usart.h.

◆ LL_USART_EnableSmartcard()

__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. @rmtoll CR3 SCEN LL_USART_EnableSmartcard
Parameters
USARTxUSART Instance
Return values
None

Definition at line 1232 of file stm32f4xx_ll_usart.h.

◆ LL_USART_EnableSmartcardNACK()

__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. @rmtoll CR3 NACK LL_USART_EnableSmartcardNACK
Parameters
USARTxUSART Instance
Return values
None

Definition at line 1193 of file stm32f4xx_ll_usart.h.

◆ LL_USART_GetSmartcardGuardTime()

__STATIC_INLINE uint32_t LL_USART_GetSmartcardGuardTime ( const 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. @rmtoll 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 1316 of file stm32f4xx_ll_usart.h.

◆ LL_USART_GetSmartcardPrescaler()

__STATIC_INLINE uint32_t LL_USART_GetSmartcardPrescaler ( const 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. @rmtoll GTPR PSC LL_USART_GetSmartcardPrescaler
Parameters
USARTxUSART Instance
Return values
Smartcardprescaler value (Value between Min_Data=0 and Max_Data=31)

Definition at line 1287 of file stm32f4xx_ll_usart.h.

◆ LL_USART_IsEnabledSmartcard()

__STATIC_INLINE uint32_t LL_USART_IsEnabledSmartcard ( const 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. @rmtoll CR3 SCEN LL_USART_IsEnabledSmartcard
Parameters
USARTxUSART Instance
Return values
Stateof bit (1 or 0).

Definition at line 1258 of file stm32f4xx_ll_usart.h.

◆ LL_USART_IsEnabledSmartcardNACK()

__STATIC_INLINE uint32_t LL_USART_IsEnabledSmartcardNACK ( const 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. @rmtoll CR3 NACK LL_USART_IsEnabledSmartcardNACK
Parameters
USARTxUSART Instance
Return values
Stateof bit (1 or 0).

Definition at line 1219 of file stm32f4xx_ll_usart.h.

◆ LL_USART_SetSmartcardGuardTime()

__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. @rmtoll GTPR GT LL_USART_SetSmartcardGuardTime
Parameters
USARTxUSART Instance
GuardTimeValue between Min_Data=0x00 and Max_Data=0xFF
Return values
None

Definition at line 1302 of file stm32f4xx_ll_usart.h.

◆ LL_USART_SetSmartcardPrescaler()

__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. @rmtoll GTPR PSC LL_USART_SetSmartcardPrescaler
Parameters
USARTxUSART Instance
PrescalerValueValue between Min_Data=0 and Max_Data=31
Return values
None

Definition at line 1273 of file stm32f4xx_ll_usart.h.