TUKS MCU Introductory course / TUKS-COURSE-THERMOMETER

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

Embed: (wiki syntax)

« Back to documentation index

IRDA Private Functions

IRDA Private Functions
[IRDA]

Functions

static HAL_StatusTypeDef IRDA_Transmit_IT (IRDA_HandleTypeDef *hirda)
 Send an amount of data in non-blocking mode.
static HAL_StatusTypeDef IRDA_EndTransmit_IT (IRDA_HandleTypeDef *hirda)
 Wrap up transmission in non-blocking mode.
static HAL_StatusTypeDef IRDA_Receive_IT (IRDA_HandleTypeDef *hirda)
 Receive an amount of data in non-blocking mode.
static HAL_StatusTypeDef IRDA_SetConfig (IRDA_HandleTypeDef *hirda)
 Configure the IRDA peripheral.
static HAL_StatusTypeDef IRDA_CheckIdleState (IRDA_HandleTypeDef *hirda)
 Check the IRDA Idle State.
static void IRDA_DMATransmitCplt (DMA_HandleTypeDef *hdma)
 DMA IRDA transmit process complete callback.
static void IRDA_DMATransmitHalfCplt (DMA_HandleTypeDef *hdma)
 DMA IRDA receive process half complete callback.
static void IRDA_DMAReceiveCplt (DMA_HandleTypeDef *hdma)
 DMA IRDA receive process complete callback.
static void IRDA_DMAReceiveHalfCplt (DMA_HandleTypeDef *hdma)
 DMA IRDA receive process half complete callback.
static void IRDA_DMAError (DMA_HandleTypeDef *hdma)
 DMA IRDA communication error callback.
static HAL_StatusTypeDef IRDA_WaitOnFlagUntilTimeout (IRDA_HandleTypeDef *hirda, uint32_t Flag, FlagStatus Status, uint32_t Tickstart, uint32_t Timeout)
 Handle IRDA Communication Timeout.

Function Documentation

static HAL_StatusTypeDef IRDA_CheckIdleState ( IRDA_HandleTypeDef *  hirda ) [static]

Check the IRDA Idle State.

Parameters:
hirda,:Pointer to a IRDA_HandleTypeDef structure that contains the configuration information for the specified IRDA module.
Return values:
HALstatus

Definition at line 1435 of file stm32l4xx_hal_irda.c.

static void IRDA_DMAError ( DMA_HandleTypeDef *  hdma ) [static]

DMA IRDA 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 1191 of file stm32l4xx_hal_irda.c.

static void IRDA_DMAReceiveCplt ( DMA_HandleTypeDef *  hdma ) [static]

DMA IRDA 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 1152 of file stm32l4xx_hal_irda.c.

static void IRDA_DMAReceiveHalfCplt ( DMA_HandleTypeDef *  hdma ) [static]

DMA IRDA receive process half 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 1178 of file stm32l4xx_hal_irda.c.

static void IRDA_DMATransmitCplt ( DMA_HandleTypeDef *  hdma ) [static]

DMA IRDA 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 1110 of file stm32l4xx_hal_irda.c.

static void IRDA_DMATransmitHalfCplt ( DMA_HandleTypeDef *  hdma ) [static]

DMA IRDA receive process half 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 1139 of file stm32l4xx_hal_irda.c.

static HAL_StatusTypeDef IRDA_EndTransmit_IT ( IRDA_HandleTypeDef *  hirda ) [static]

Wrap up transmission in non-blocking mode.

Parameters:
hirda,:pointer to a IRDA_HandleTypeDef structure that contains the configuration information for the specified IRDA module.
Return values:
HALstatus

Definition at line 1295 of file stm32l4xx_hal_irda.c.

static HAL_StatusTypeDef IRDA_Receive_IT ( IRDA_HandleTypeDef *  hirda ) [static]

Receive an amount of data in non-blocking mode.

Function is called under interruption only, once interruptions have been enabled by HAL_IRDA_Receive_IT().

Parameters:
hirda,:Pointer to a IRDA_HandleTypeDef structure that contains the configuration information for the specified IRDA module.
Return values:
HALstatus

Definition at line 1317 of file stm32l4xx_hal_irda.c.

static HAL_StatusTypeDef IRDA_SetConfig ( IRDA_HandleTypeDef *  hirda ) [static]

Configure the IRDA peripheral.

Parameters:
hirda,:Pointer to a IRDA_HandleTypeDef structure that contains the configuration information for the specified IRDA module.
Return values:
None

Definition at line 1372 of file stm32l4xx_hal_irda.c.

static HAL_StatusTypeDef IRDA_Transmit_IT ( IRDA_HandleTypeDef *  hirda ) [static]

Send an amount of data in non-blocking mode.

Note:
Function is called under interruption only, once interruptions have been enabled by HAL_IRDA_Transmit_IT().
Parameters:
hirda,:Pointer to a IRDA_HandleTypeDef structure that contains the configuration information for the specified IRDA module.
Return values:
HALstatus

Definition at line 1249 of file stm32l4xx_hal_irda.c.

static HAL_StatusTypeDef IRDA_WaitOnFlagUntilTimeout ( IRDA_HandleTypeDef *  hirda,
uint32_t  Flag,
FlagStatus  Status,
uint32_t  Tickstart,
uint32_t  Timeout 
) [static]

Handle IRDA Communication Timeout.

Parameters:
hirdaPointer to a IRDA_HandleTypeDef structure that contains the configuration information for the specified IRDA module.
FlagSpecifies the IRDA flag to check.
Statusthe new flag status (SET or RESET). The function is locked in a while loop as long as the flag remains set to Status.
TickstartTick start value
TimeoutTimeout duration
Return values:
HALstatus

Definition at line 1214 of file stm32l4xx_hal_irda.c.