Macros
SMARTCARD Extended Private Macros
Collaboration diagram for SMARTCARD Extended Private Macros:

Macros

#define IS_SMARTCARD_TRANSMISSION_COMPLETION(__TXCOMPLETE__)   ((__TXCOMPLETE__) == SMARTCARD_TC)
 Ensure that SMARTCARD frame transmission completion used flag is valid. More...
 
#define SMARTCARD_TRANSMISSION_COMPLETION_FLAG(__HANDLE__)   (SMARTCARD_FLAG_TC)
 Return the transmission completion flag. More...
 
#define SMARTCARD_TRANSMISSION_COMPLETION_SETTING(__HANDLE__)
 Set the Transmission Completion flag. More...
 

Detailed Description

Macro Definition Documentation

◆ IS_SMARTCARD_TRANSMISSION_COMPLETION

#define IS_SMARTCARD_TRANSMISSION_COMPLETION (   __TXCOMPLETE__)    ((__TXCOMPLETE__) == SMARTCARD_TC)

Ensure that SMARTCARD frame transmission completion used flag is valid.

Parameters
<strong>TXCOMPLETE</strong>SMARTCARD frame transmission completion used flag.
Return values
SET(TXCOMPLETE is valid) or RESET (TXCOMPLETE is invalid)

Definition at line 206 of file stm32f7xx_hal_smartcard_ex.h.

◆ SMARTCARD_TRANSMISSION_COMPLETION_FLAG

#define SMARTCARD_TRANSMISSION_COMPLETION_FLAG (   __HANDLE__)    (SMARTCARD_FLAG_TC)

Return the transmission completion flag.

Parameters
<strong>HANDLE</strong>specifies the SMARTCARD Handle.
Note
Based on AdvancedInit.TxCompletionIndication setting, return TC or TCBGT flag. When TCBGT flag (Transmission Complete Before Guard Time) is not available, TC flag is reported.
Return values
Transmissioncompletion flag

Definition at line 194 of file stm32f7xx_hal_smartcard_ex.h.

◆ SMARTCARD_TRANSMISSION_COMPLETION_SETTING

#define SMARTCARD_TRANSMISSION_COMPLETION_SETTING (   __HANDLE__)
Value:
do { \
(__HANDLE__)->AdvancedInit.TxCompletionIndication = SMARTCARD_TC; \
} while(0U)

Set the Transmission Completion flag.

Parameters
<strong>HANDLE</strong>specifies the SMARTCARD Handle.
Note
If TCBGT (Transmission Complete Before Guard Time) flag is not available or if AdvancedInit.TxCompletionIndication is not already filled, the latter is forced to SMARTCARD_TC (transmission completion indication when guard time has elapsed).
Return values
None

Definition at line 177 of file stm32f7xx_hal_smartcard_ex.h.

SMARTCARD_TC
#define SMARTCARD_TC
Definition: stm32f7xx_hal_smartcard_ex.h:52


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:08