TUKS MCU Introductory course / TUKS-COURSE-THERMOMETER

Fork of TUKS-COURSE-TIMER by TUKS MCU Introductory course

Embed: (wiki syntax)

« Back to documentation index

SMARTCARD Private Functions

SMARTCARD Private Functions
[SMARTCARD]

Functions

static void SMARTCARD_DMATransmitCplt (DMA_HandleTypeDef *hdma)
 DMA SMARTCARD transmit process complete callback.
static void SMARTCARD_DMAReceiveCplt (DMA_HandleTypeDef *hdma)
 DMA SMARTCARD receive process complete callback.
static void SMARTCARD_DMAError (DMA_HandleTypeDef *hdma)
 DMA SMARTCARD communication error callback.
static HAL_StatusTypeDef SMARTCARD_SetConfig (SMARTCARD_HandleTypeDef *hsmartcard)
 Configure the SMARTCARD associated USART peripheral.
static void SMARTCARD_AdvFeatureConfig (SMARTCARD_HandleTypeDef *hsmartcard)
 Configure the SMARTCARD associated USART peripheral advanced features.
static HAL_StatusTypeDef SMARTCARD_WaitOnFlagUntilTimeout (SMARTCARD_HandleTypeDef *hsmartcard, uint32_t Flag, FlagStatus Status, uint32_t Tickstart, uint32_t Timeout)
 Handle SMARTCARD Communication Timeout.
static HAL_StatusTypeDef SMARTCARD_CheckIdleState (SMARTCARD_HandleTypeDef *hsmartcard)
 Check the SMARTCARD Idle State.
static HAL_StatusTypeDef SMARTCARD_Transmit_IT (SMARTCARD_HandleTypeDef *hsmartcard)
 Send an amount of data in non-blocking mode.
static HAL_StatusTypeDef SMARTCARD_EndTransmit_IT (SMARTCARD_HandleTypeDef *hsmartcard)
 Wrap up transmission in non-blocking mode.
static HAL_StatusTypeDef SMARTCARD_Receive_IT (SMARTCARD_HandleTypeDef *hsmartcard)
 Receive an amount of data in non-blocking mode.

Function Documentation

static void SMARTCARD_AdvFeatureConfig ( SMARTCARD_HandleTypeDef *  hsmartcard ) [static]

Configure the SMARTCARD associated USART peripheral advanced features.

Parameters:
hsmartcard,:Pointer to a SMARTCARD_HandleTypeDef structure that contains the configuration information for the specified SMARTCARD module.
Return values:
None

Definition at line 1325 of file stm32l4xx_hal_smartcard.c.

static HAL_StatusTypeDef SMARTCARD_CheckIdleState ( SMARTCARD_HandleTypeDef *  hsmartcard ) [static]

Check the SMARTCARD Idle State.

Parameters:
hsmartcard,:Pointer to a SMARTCARD_HandleTypeDef structure that contains the configuration information for the specified SMARTCARD module.
Return values:
HALstatus

Definition at line 1387 of file stm32l4xx_hal_smartcard.c.

static void SMARTCARD_DMAError ( DMA_HandleTypeDef *  hdma ) [static]

DMA SMARTCARD communication error callback.

Parameters:
hdma,:Pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA module.
Return values:
None

Definition at line 1210 of file stm32l4xx_hal_smartcard.c.

static void SMARTCARD_DMAReceiveCplt ( DMA_HandleTypeDef *  hdma ) [static]

DMA SMARTCARD receive process complete callback.

Parameters:
hdma,:Pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA module.
Return values:
None

Definition at line 1189 of file stm32l4xx_hal_smartcard.c.

static void SMARTCARD_DMATransmitCplt ( DMA_HandleTypeDef *  hdma ) [static]

DMA SMARTCARD transmit process complete callback.

Parameters:
hdma,:Pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA module.
Return values:
None

Definition at line 1170 of file stm32l4xx_hal_smartcard.c.

static HAL_StatusTypeDef SMARTCARD_EndTransmit_IT ( SMARTCARD_HandleTypeDef *  hsmartcard ) [static]

Wrap up transmission in non-blocking mode.

Parameters:
hsmartcard,:Pointer to a SMARTCARD_HandleTypeDef structure that contains the configuration information for the specified SMARTCARD module.
Return values:
HALstatus

Definition at line 1050 of file stm32l4xx_hal_smartcard.c.

static HAL_StatusTypeDef SMARTCARD_Receive_IT ( SMARTCARD_HandleTypeDef *  hsmartcard ) [static]

Receive an amount of data in non-blocking mode.

Parameters:
hsmartcard,:Pointer to a SMARTCARD_HandleTypeDef structure that contains the configuration information for the specified SMARTCARD module. Function called under interruption only, once interruptions have been enabled by HAL_SMARTCARD_Receive_IT().
Return values:
HALstatus

Definition at line 1091 of file stm32l4xx_hal_smartcard.c.

static HAL_StatusTypeDef SMARTCARD_SetConfig ( SMARTCARD_HandleTypeDef *  hsmartcard ) [static]

Configure the SMARTCARD associated USART peripheral.

Parameters:
hsmartcard,:Pointer to a SMARTCARD_HandleTypeDef structure that contains the configuration information for the specified SMARTCARD module.
Return values:
None

Definition at line 1227 of file stm32l4xx_hal_smartcard.c.

static HAL_StatusTypeDef SMARTCARD_Transmit_IT ( SMARTCARD_HandleTypeDef *  hsmartcard ) [static]

Send an amount of data in non-blocking mode.

Parameters:
hsmartcard,:Pointer to a SMARTCARD_HandleTypeDef structure that contains the configuration information for the specified SMARTCARD module. Function called under interruption only, once interruptions have been enabled by HAL_SMARTCARD_Transmit_IT()
Return values:
HALstatus

Definition at line 1014 of file stm32l4xx_hal_smartcard.c.

static HAL_StatusTypeDef SMARTCARD_WaitOnFlagUntilTimeout ( SMARTCARD_HandleTypeDef *  hsmartcard,
uint32_t  Flag,
FlagStatus  Status,
uint32_t  Tickstart,
uint32_t  Timeout 
) [static]

Handle SMARTCARD Communication Timeout.

Parameters:
hsmartcardPointer to a SMARTCARD_HandleTypeDef structure that contains the configuration information for the specified SMARTCARD module.
FlagSpecifies the SMARTCARD flag to check.
StatusThe new Flag status (SET or RESET).
TickstartTick start value
TimeoutTimeout duration.
Return values:
HALstatus

Definition at line 1137 of file stm32l4xx_hal_smartcard.c.