Senior Design: Sound Monitor / STM32L4xx_HAL_Driver
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 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 1380 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 1442 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 1265 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 1237 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 1218 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 1063 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 1105 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 1281 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 1028 of file stm32l4xx_hal_smartcard.c.

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

Handle SMARTCARD Communication Timeout.

Parameters:
hsmartcard,:Pointer to a SMARTCARD_HandleTypeDef structure that contains the configuration information for the specified SMARTCARD module.
Flag,:specifies the SMARTCARD flag to check.
Status,:The new Flag status (SET or RESET).
Timeout,:Timeout duration.
Return values:
HALstatus

Definition at line 1154 of file stm32l4xx_hal_smartcard.c.