Hal Drivers for L4

Dependents:   BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo

Fork of STM32L4xx_HAL_Driver by Senior Design: Sound Monitor

Embed: (wiki syntax)

« Back to documentation index

SWPMI Private Functions

SWPMI Private Functions
[SWPMI]

Functions

static HAL_StatusTypeDef SWPMI_Transmit_IT (SWPMI_HandleTypeDef *hswpmi)
 Transmit an amount of data in interrupt mode.
static HAL_StatusTypeDef SWPMI_EndTransmit_IT (SWPMI_HandleTypeDef *hswpmi)
 Wraps up transmission in non-blocking mode.
static HAL_StatusTypeDef SWPMI_Receive_IT (SWPMI_HandleTypeDef *hswpmi)
 Receive an amount of data in interrupt mode.
static HAL_StatusTypeDef SWPMI_EndReceive_IT (SWPMI_HandleTypeDef *hswpmi)
 Wraps up reception in non-blocking mode.
static HAL_StatusTypeDef SWPMI_EndTransmitReceive_IT (SWPMI_HandleTypeDef *hswpmi)
 Wraps up transmission and reception in non-blocking mode.
static void SWPMI_DMATransmitCplt (DMA_HandleTypeDef *hdma)
 DMA SWPMI transmit process complete callback.
static void SWPMI_DMATxHalfCplt (DMA_HandleTypeDef *hdma)
 DMA SWPMI transmit process half complete callback.
static void SWPMI_DMAReceiveCplt (DMA_HandleTypeDef *hdma)
 DMA SWPMI receive process complete callback.
static void SWPMI_DMARxHalfCplt (DMA_HandleTypeDef *hdma)
 DMA SWPMI receive process half complete callback.
static void SWPMI_DMAError (DMA_HandleTypeDef *hdma)
 DMA SWPMI communication error callback.
static HAL_StatusTypeDef SWPMI_WaitOnFlagSetUntilTimeout (SWPMI_HandleTypeDef *hswpmi, uint32_t Flag, uint32_t Timeout)
 Handle SWPMI Communication Timeout.

Function Documentation

static void SWPMI_DMAError ( DMA_HandleTypeDef *  hdma ) [static]

DMA SWPMI communication error callback.

Parameters:
hdma,:DMA handle
Return values:
None

Definition at line 1349 of file stm32l4xx_hal_swpmi.c.

static void SWPMI_DMAReceiveCplt ( DMA_HandleTypeDef *  hdma ) [static]

DMA SWPMI receive process complete callback.

Parameters:
hdma,:DMA handle
Return values:
None

Definition at line 1306 of file stm32l4xx_hal_swpmi.c.

static void SWPMI_DMARxHalfCplt ( DMA_HandleTypeDef *  hdma ) [static]

DMA SWPMI receive process half complete callback.

Parameters:
hdma: DMA handle
Return values:
None

Definition at line 1337 of file stm32l4xx_hal_swpmi.c.

static void SWPMI_DMATransmitCplt ( DMA_HandleTypeDef *  hdma ) [static]

DMA SWPMI transmit process complete callback.

Parameters:
hdma,:DMA handle
Return values:
None

Definition at line 1246 of file stm32l4xx_hal_swpmi.c.

static void SWPMI_DMATxHalfCplt ( DMA_HandleTypeDef *  hdma ) [static]

DMA SWPMI transmit process half complete callback.

Parameters:
hdma: DMA handle
Return values:
None

Definition at line 1293 of file stm32l4xx_hal_swpmi.c.

static HAL_StatusTypeDef SWPMI_EndReceive_IT ( SWPMI_HandleTypeDef *  hswpmi ) [static]

Wraps up reception in non-blocking mode.

Parameters:
hswpmi,:SWPMI handle
Return values:
HALstatus
HALstatus

Definition at line 1195 of file stm32l4xx_hal_swpmi.c.

static HAL_StatusTypeDef SWPMI_EndTransmit_IT ( SWPMI_HandleTypeDef *  hswpmi ) [static]

Wraps up transmission in non-blocking mode.

Parameters:
hswpmi,:SWPMI handle
Return values:
HALstatus
HALstatus

Definition at line 1139 of file stm32l4xx_hal_swpmi.c.

static HAL_StatusTypeDef SWPMI_EndTransmitReceive_IT ( SWPMI_HandleTypeDef *  hswpmi ) [static]

Wraps up transmission and reception in non-blocking mode.

Parameters:
hswpmi,:SWPMI handle
Return values:
HALstatus
HALstatus

Definition at line 1221 of file stm32l4xx_hal_swpmi.c.

static HAL_StatusTypeDef SWPMI_Receive_IT ( SWPMI_HandleTypeDef *  hswpmi ) [static]

Receive an amount of data in interrupt mode.

Note:
Function called under interruption only, once interruptions have been enabled by HAL_SWPMI_Receive_IT()
Parameters:
hswpmi,:SWPMI handle
Return values:
HALstatus

Definition at line 1167 of file stm32l4xx_hal_swpmi.c.

static HAL_StatusTypeDef SWPMI_Transmit_IT ( SWPMI_HandleTypeDef *  hswpmi ) [static]

Transmit an amount of data in interrupt mode.

Note:
Function called under interruption only, once interruptions have been enabled by HAL_SWPMI_Transmit_IT()
Parameters:
hswpmi,:SWPMI handle
Return values:
HALstatus

Definition at line 1108 of file stm32l4xx_hal_swpmi.c.

static HAL_StatusTypeDef SWPMI_WaitOnFlagSetUntilTimeout ( SWPMI_HandleTypeDef *  hswpmi,
uint32_t  Flag,
uint32_t  Timeout 
) [static]

Handle SWPMI Communication Timeout.

Parameters:
hswpmi,:SWPMI handle
Flag,:specifies the SWPMI flag to check.
Timeout,:Timeout duration
Return values:
HALstatus

Definition at line 1369 of file stm32l4xx_hal_swpmi.c.