Dependents:   BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo

Fork of STM32L4xx_HAL_Driver by Senior Design: Sound Monitor

Embed: (wiki syntax)

« Back to documentation index

DFSDM Private Functions

DFSDM Private Functions
[DFSDM]

Functions

static uint32_t DFSDM_GetInjChannelsNbr (uint32_t Channels)
 This function allows to get the number of injected channels.
static uint32_t DFSDM_GetChannelFromInstance (DFSDM_Channel_TypeDef *Instance)
 This function allows to get the channel number from channel instance.
static void DFSDM_RegConvStart (DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
 This function allows to really start regular conversion.
static void DFSDM_RegConvStop (DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
 This function allows to really stop regular conversion.
static void DFSDM_InjConvStart (DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
 This function allows to really start injected conversion.
static void DFSDM_InjConvStop (DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
 This function allows to really stop injected conversion.
static void DFSDM_DMARegularHalfConvCplt (DMA_HandleTypeDef *hdma)
 DMA half transfer complete callback for regular conversion.
static void DFSDM_DMARegularConvCplt (DMA_HandleTypeDef *hdma)
 DMA transfer complete callback for regular conversion.
static void DFSDM_DMAInjectedHalfConvCplt (DMA_HandleTypeDef *hdma)
 DMA half transfer complete callback for injected conversion.
static void DFSDM_DMAInjectedConvCplt (DMA_HandleTypeDef *hdma)
 DMA transfer complete callback for injected conversion.
static void DFSDM_DMAError (DMA_HandleTypeDef *hdma)
 DMA error callback.

Function Documentation

static void DFSDM_DMAError ( DMA_HandleTypeDef *  hdma ) [static]

DMA error callback.

Parameters:
hdma: DMA handle.
Return values:
None

Definition at line 2719 of file stm32l4xx_hal_dfsdm.c.

static void DFSDM_DMAInjectedConvCplt ( DMA_HandleTypeDef *  hdma ) [static]

DMA transfer complete callback for injected conversion.

Parameters:
hdma: DMA handle.
Return values:
None

Definition at line 2705 of file stm32l4xx_hal_dfsdm.c.

static void DFSDM_DMAInjectedHalfConvCplt ( DMA_HandleTypeDef *  hdma ) [static]

DMA half transfer complete callback for injected conversion.

Parameters:
hdma: DMA handle.
Return values:
None

Definition at line 2691 of file stm32l4xx_hal_dfsdm.c.

static void DFSDM_DMARegularConvCplt ( DMA_HandleTypeDef *  hdma ) [static]

DMA transfer complete callback for regular conversion.

Parameters:
hdma: DMA handle.
Return values:
None

Definition at line 2677 of file stm32l4xx_hal_dfsdm.c.

static void DFSDM_DMARegularHalfConvCplt ( DMA_HandleTypeDef *  hdma ) [static]

DMA half transfer complete callback for regular conversion.

Parameters:
hdma: DMA handle.
Return values:
None

Definition at line 2663 of file stm32l4xx_hal_dfsdm.c.

static uint32_t DFSDM_GetChannelFromInstance ( DFSDM_Channel_TypeDef *  Instance ) [static]

This function allows to get the channel number from channel instance.

Parameters:
Instance: DFSDM channel instance.
Return values:
Channelnumber.

Definition at line 2759 of file stm32l4xx_hal_dfsdm.c.

static uint32_t DFSDM_GetInjChannelsNbr ( uint32_t  Channels ) [static]

This function allows to get the number of injected channels.

Parameters:
Channels: bitfield of injected channels.
Return values:
Numberof injected channels.

Definition at line 2736 of file stm32l4xx_hal_dfsdm.c.

static void DFSDM_InjConvStart ( DFSDM_Filter_HandleTypeDef *  hdfsdm_filter ) [static]

This function allows to really start injected conversion.

Parameters:
hdfsdm_filter: DFSDM filter handle.
Return values:
None

Definition at line 2882 of file stm32l4xx_hal_dfsdm.c.

static void DFSDM_InjConvStop ( DFSDM_Filter_HandleTypeDef *  hdfsdm_filter ) [static]

This function allows to really stop injected conversion.

Parameters:
hdfsdm_filter: DFSDM filter handle.
Return values:
None

Definition at line 2926 of file stm32l4xx_hal_dfsdm.c.

static void DFSDM_RegConvStart ( DFSDM_Filter_HandleTypeDef *  hdfsdm_filter ) [static]

This function allows to really start regular conversion.

Parameters:
hdfsdm_filter: DFSDM filter handle.
Return values:
None

Definition at line 2805 of file stm32l4xx_hal_dfsdm.c.

static void DFSDM_RegConvStop ( DFSDM_Filter_HandleTypeDef *  hdfsdm_filter ) [static]

This function allows to really stop regular conversion.

Parameters:
hdfsdm_filter: DFSDM filter handle.
Return values:
None

Definition at line 2846 of file stm32l4xx_hal_dfsdm.c.