LL FMAC Functions

LL FMAC Functions

group FMAC_LL_Exported_Functions

Functions

void LL_FMAC_EnableIT ( FMAC_TypeDef * p_fmac , uint32_t it )

Enable the specified FMAC interrupts.

Reference Manual to LL API cross reference (Register Field Functions)

CR SATIEN LL_FMAC_EnableIT

CR UNFLIEN LL_FMAC_EnableIT

CR OVFLIEN LL_FMAC_EnableIT

CR WIEN LL_FMAC_EnableIT

CR RIEN LL_FMAC_EnableIT

Parameters :
void LL_FMAC_DisableIT ( FMAC_TypeDef * p_fmac , uint32_t it )

Disable the specified FMAC interrupts.

Reference Manual to LL API cross reference (Register Field Functions)

CR SATIEN LL_FMAC_DisableIT

CR UNFLIEN LL_FMAC_DisableIT

CR OVFLIEN LL_FMAC_DisableIT

CR WIEN LL_FMAC_DisableIT

CR RIEN LL_FMAC_DisableIT

Parameters :
void LL_FMAC_Enable_DMAReq_and_IT ( FMAC_TypeDef * p_fmac , uint32_t dma_req , uint32_t it )

Enable the specified FMAC interrupts.

Reference Manual to LL API cross reference (Register Field Functions)

CR SATIEN LL_FMAC_Enable_DMAReq_and_IT

CR UNFLIEN LL_FMAC_Enable_DMAReq_and_IT

CR OVFLIEN LL_FMAC_Enable_DMAReq_and_IT

CR DMAWEN LL_FMAC_Enable_DMAReq_and_IT

CR DMAREN LL_FMAC_Enable_DMAReq_and_IT

Parameters :
void LL_FMAC_Disable_DMAReq_and_IT ( FMAC_TypeDef * p_fmac , uint32_t dma_req , uint32_t it )

Disable the specified FMAC interrupts.

Reference Manual to LL API cross reference (Register Field Functions)

CR SATIEN LL_FMAC_Disable_DMAReq_and_IT

CR UNFLIEN LL_FMAC_Disable_DMAReq_and_IT

CR OVFLIEN LL_FMAC_Disable_DMAReq_and_IT

CR DMAWEN LL_FMAC_Disable_DMAReq_and_IT

CR DMAREN LL_FMAC_Disable_DMAReq_and_IT

Parameters :

FMAC Configuration functions

group FMAC_LL_EF_Configuration

Functions

void LL_FMAC_SetX1FullWatermark ( FMAC_TypeDef * p_fmac , uint32_t watermark )

Configure X1 full watermark.

Reference Manual to LL API cross reference (Register Field Functions)

X1BUFCFG FULL_WM LL_FMAC_SetX1FullWatermark

Parameters :
uint32_t LL_FMAC_GetX1FullWatermark ( const FMAC_TypeDef * p_fmac )

Return X1 full watermark.

Reference Manual to LL API cross reference (Register Field Functions)

X1BUFCFG FULL_WM LL_FMAC_GetX1FullWatermark

Parameters :

p_fmac – FMAC instance

Return values :

uint32_t – Returned value can be one of the following values:

void LL_FMAC_SetX1BufferSize ( FMAC_TypeDef * p_fmac , uint8_t buffer_size )

Configure X1 buffer size.

Reference Manual to LL API cross reference (Register Field Functions)

X1BUFCFG X1_BUF_SIZE LL_FMAC_SetX1BufferSize

Parameters :
  • p_fmac – FMAC instance

  • buffer_size – Number of 16-bit words allocated to the input buffer (including the optional “headroom”). This parameter must be a number between Min_Data=0x01 and Max_Data=0xFF.

uint8_t LL_FMAC_GetX1BufferSize ( const FMAC_TypeDef * p_fmac )

Return X1 buffer size.

Reference Manual to LL API cross reference (Register Field Functions)

X1BUFCFG X1_BUF_SIZE LL_FMAC_GetX1BufferSize

Parameters :

p_fmac – FMAC instance

Return values :

uint8_t – Number of 16-bit words allocated to the input buffer (including the optional “headroom”) (value between Min_Data=0x01 and Max_Data=0xFF).

void LL_FMAC_SetX1Base ( FMAC_TypeDef * p_fmac , uint8_t base )

Configure X1 base.

Reference Manual to LL API cross reference (Register Field Functions)

X1BUFCFG X1_BASE LL_FMAC_SetX1Base

Parameters :
  • p_fmac – FMAC instance

  • base – Base address of the input buffer (X1) within the internal memory. This parameter must be a value between Min_Data=0x00 and Max_Data=0xFF.

uint8_t LL_FMAC_GetX1Base ( const FMAC_TypeDef * p_fmac )

Return X1 base.

Reference Manual to LL API cross reference (Register Field Functions)

X1BUFCFG X1_BASE LL_FMAC_GetX1Base

Parameters :

p_fmac – FMAC instance

Return values :

uint8_t – Base address of the input buffer (X1) within the internal memory (value between Min_Data=0x00 and Max_Data=0xFF).

void LL_FMAC_SetX1BaseAndSize ( FMAC_TypeDef * p_fmac , uint8_t base , uint8_t buffer_size )

Configure X1 base, size and reset threshold.

Reference Manual to LL API cross reference (Register Field Functions)

X1BUFCFG X1_BASE LL_FMAC_SetX1BaseAndSize

Parameters :
  • p_fmac – FMAC instance

  • base – Base address of the input buffer (X1) within the internal memory. This parameter must be a value between Min_Data=0x00 and Max_Data=0xFF.

  • buffer_size – Number of 16-bit words allocated to the input buffer (including the optional “headroom”). This parameter must be a number between Min_Data=0x01 and Max_Data=0xFF.

void LL_FMAC_SetX2BaseAndSize ( FMAC_TypeDef * p_fmac , uint8_t base , uint8_t buffer_size )

Configure X2 base, size and reset threshold.

Reference Manual to LL API cross reference (Register Field Functions)

X2BUFCFG X2_BASE LL_FMAC_SetX2BaseAndSize

Parameters :
  • p_fmac – FMAC instance

  • base – Base address of the input buffer (X2) within the internal memory. This parameter must be a value between Min_Data=0x00 and Max_Data=0xFF.

  • buffer_size – Number of 16-bit words allocated to the input buffer (including the optional “headroom”). This parameter must be a number between Min_Data=0x01 and Max_Data=0xFF.

void LL_FMAC_SetYBaseAndSize ( FMAC_TypeDef * p_fmac , uint8_t base , uint8_t buffer_size )

Configure Y base, size and reset threshold.

Reference Manual to LL API cross reference (Register Field Functions)

YBUFCFG Y_BASE LL_FMAC_SetYBaseAndSize

Parameters :
  • p_fmac – FMAC instance

  • base – Base address of the input buffer (Y) within the internal memory. This parameter must be a value between Min_Data=0x00 and Max_Data=0xFF.

  • buffer_size – Number of 16-bit words allocated to the input buffer (including the optional “headroom”). This parameter must be a number between Min_Data=0x01 and Max_Data=0xFF.

void LL_FMAC_SetX2BufferSize ( FMAC_TypeDef * p_fmac , uint8_t buffer_size )

Configure X2 buffer size.

Reference Manual to LL API cross reference (Register Field Functions)

X2BUFCFG X2_BUF_SIZE LL_FMAC_SetX2BufferSize

Parameters :
  • p_fmac – FMAC instance

  • buffer_size – Number of 16-bit words allocated to the coefficient buffer. This parameter must be a number between Min_Data=0x01 and Max_Data=0xFF.

uint8_t LL_FMAC_GetX2BufferSize ( const FMAC_TypeDef * p_fmac )

Return X2 buffer size.

Reference Manual to LL API cross reference (Register Field Functions)

X2BUFCFG X2_BUF_SIZE LL_FMAC_GetX2BufferSize

Parameters :

p_fmac – FMAC instance

Return values :

uint8_t – Number of 16-bit words allocated to the coefficient buffer (value between Min_Data=0x01 and Max_Data=0xFF).

void LL_FMAC_SetX2Base ( FMAC_TypeDef * p_fmac , uint32_t base )

Configure X2 base.

Reference Manual to LL API cross reference (Register Field Functions)

X2BUFCFG X2_BASE LL_FMAC_SetX2Base

Parameters :
  • p_fmac – FMAC instance

  • base – Base address of the coefficient buffer (X2) within the internal memory. This parameter must be a value between Min_Data=0x00 and Max_Data=0xFF.

uint8_t LL_FMAC_GetX2Base ( const FMAC_TypeDef * p_fmac )

Return X2 base.

Reference Manual to LL API cross reference (Register Field Functions)

X2BUFCFG X2_BASE LL_FMAC_GetX2Base

Parameters :

p_fmac – FMAC instance

Return values :

uint8_t – Base address of the coefficient buffer (X2) within the internal memory (value between Min_Data=0x00 and Max_Data=0xFF).

void LL_FMAC_SetYEmptyWatermark ( FMAC_TypeDef * p_fmac , uint32_t watermark )

Configure Y empty watermark.

Reference Manual to LL API cross reference (Register Field Functions)

YBUFCFG EMPTY_WM LL_FMAC_SetYEmptyWatermark

Parameters :
uint32_t LL_FMAC_GetYEmptyWatermark ( const FMAC_TypeDef * p_fmac )

Return Y empty watermark.

Reference Manual to LL API cross reference (Register Field Functions)

YBUFCFG EMPTY_WM LL_FMAC_GetYEmptyWatermark

Parameters :

p_fmac – FMAC instance

Return values :

uint32_t – Returned value can be one of the following values:

void LL_FMAC_SetYBufferSize ( FMAC_TypeDef * p_fmac , uint8_t buffer_size )

Configure Y buffer size.

Reference Manual to LL API cross reference (Register Field Functions)

YBUFCFG Y_BUF_SIZE LL_FMAC_SetYBufferSize

Parameters :
  • p_fmac – FMAC instance

  • buffer_size – Number of 16-bit words allocated to the output buffer (including the optional “headroom”). This parameter must be a number between Min_Data=0x01 and Max_Data=0xFF.

uint8_t LL_FMAC_GetYBufferSize ( const FMAC_TypeDef * p_fmac )

Return Y buffer size.

Reference Manual to LL API cross reference (Register Field Functions)

YBUFCFG Y_BUF_SIZE LL_FMAC_GetYBufferSize

Parameters :

p_fmac – FMAC instance

Return values :

uint8_t – Number of 16-bit words allocated to the output buffer (including the optional “headroom” - value between Min_Data=0x01 and Max_Data=0xFF).

void LL_FMAC_SetYBase ( FMAC_TypeDef * p_fmac , uint8_t base )

Configure Y base.

Reference Manual to LL API cross reference (Register Field Functions)

YBUFCFG Y_BASE LL_FMAC_SetYBase

Parameters :
  • p_fmac – FMAC instance

  • base – Base address of the output buffer (Y) within the internal memory. This parameter must be a value between Min_Data=0x00 and Max_Data=0xFF.

uint8_t LL_FMAC_GetYBase ( const FMAC_TypeDef * p_fmac )

Return Y base.

Reference Manual to LL API cross reference (Register Field Functions)

YBUFCFG Y_BASE LL_FMAC_GetYBase

Parameters :

p_fmac – FMAC instance

Return values :

uint8_t – Base address of the output buffer (Y) within the internal memory (value between Min_Data=0x00 and Max_Data=0xFF).

void LL_FMAC_EnableStart ( FMAC_TypeDef * p_fmac )

Start FMAC processing.

Reference Manual to LL API cross reference (Register Field Functions)

PARAM START LL_FMAC_EnableStart

Parameters :

p_fmac – FMAC instance

void LL_FMAC_DisableStart ( FMAC_TypeDef * p_fmac )

Stop FMAC processing.

Reference Manual to LL API cross reference (Register Field Functions)

PARAM START LL_FMAC_DisableStart

Parameters :

p_fmac – FMAC instance

uint32_t LL_FMAC_IsEnabledStart ( const FMAC_TypeDef * p_fmac )

Check the state of FMAC processing.

Reference Manual to LL API cross reference (Register Field Functions)

PARAM START LL_FMAC_IsEnabledStart

Parameters :

p_fmac – FMAC instance

Return values :

uint32_t – State of bit (1 or 0).

void LL_FMAC_SetFunction ( FMAC_TypeDef * p_fmac , uint32_t function )

Configure function.

Reference Manual to LL API cross reference (Register Field Functions)

PARAM FUNC LL_FMAC_SetFunction

Parameters :
uint32_t LL_FMAC_GetFunction ( const FMAC_TypeDef * p_fmac )

Return function.

Reference Manual to LL API cross reference (Register Field Functions)

PARAM FUNC LL_FMAC_GetFunction

Parameters :

p_fmac – FMAC instance

Return values :

uint32_t – Returned value can be one of the following values:

void LL_FMAC_SetParamR ( FMAC_TypeDef * p_fmac , uint8_t param )

Configure input parameter R.

Reference Manual to LL API cross reference (Register Field Functions)

PARAM R LL_FMAC_SetParamR

Parameters :
  • p_fmac – FMAC instance

  • param – Parameter R (gain, etc.). This parameter must be a value between Min_Data=0x00 and Max_Data=0xFF.

uint8_t LL_FMAC_GetParamR ( const FMAC_TypeDef * p_fmac )

Return input parameter R.

Reference Manual to LL API cross reference (Register Field Functions)

PARAM R LL_FMAC_GetParamR

Parameters :

p_fmac – FMAC instance

Return values :

uint8_t – Parameter R (gain, etc.) (value between Min_Data=0x00 and Max_Data=0xFF).

void LL_FMAC_SetParamQ ( FMAC_TypeDef * p_fmac , uint8_t param )

Configure input parameter Q.

Reference Manual to LL API cross reference (Register Field Functions)

PARAM Q LL_FMAC_SetParamQ

Parameters :
  • p_fmac – FMAC instance

  • param – Parameter Q (vector length, etc.). This parameter must be a value between Min_Data=0x00 and Max_Data=0xFF.

uint8_t LL_FMAC_GetParamQ ( const FMAC_TypeDef * p_fmac )

Return input parameter Q.

Reference Manual to LL API cross reference (Register Field Functions)

PARAM Q LL_FMAC_GetParamQ

Parameters :

p_fmac – FMAC instance

Return values :

uint8_t – Parameter Q (vector length, etc.) (value between Min_Data=0x00 and Max_Data=0xFF).

void LL_FMAC_SetParamP ( FMAC_TypeDef * p_fmac , uint8_t param )

Configure input parameter P.

Reference Manual to LL API cross reference (Register Field Functions)

PARAM P LL_FMAC_SetParamP

Parameters :
  • p_fmac – FMAC instance

  • param – Parameter P (vector length, number of filter taps, etc.). This parameter must be a value between Min_Data=0x00 and Max_Data=0xFF.

uint8_t LL_FMAC_GetParamP ( const FMAC_TypeDef * p_fmac )

Return input parameter P.

Reference Manual to LL API cross reference (Register Field Functions)

PARAM P LL_FMAC_GetParamP

Parameters :

p_fmac – FMAC instance

Return values :

uint8_t – Parameter P (vector length, number of filter taps, etc.) (value between Min_Data=0x00 and Max_Data=0xFF).

void LL_FMAC_EnableClipping ( FMAC_TypeDef * p_fmac )

Enable Clipping.

Reference Manual to LL API cross reference (Register Field Functions)

CR CLIPEN LL_FMAC_EnableClipping

Parameters :

p_fmac – FMAC instance

void LL_FMAC_DisableClipping ( FMAC_TypeDef * p_fmac )

Disable Clipping.

Reference Manual to LL API cross reference (Register Field Functions)

CR CLIPEN LL_FMAC_DisableClipping

Parameters :

p_fmac – FMAC instance

uint32_t LL_FMAC_IsEnabledClipping ( const FMAC_TypeDef * p_fmac )

Check Clipping State.

Reference Manual to LL API cross reference (Register Field Functions)

CR CLIPEN LL_FMAC_IsEnabledClipping

Parameters :

p_fmac – FMAC instance

Return values :

uint32_t – State of bit (1 or 0).

void LL_FMAC_ConfigX1 ( FMAC_TypeDef * p_fmac , uint32_t watermark , uint8_t base , uint8_t buffer_size )

Configure memory for X1 buffer.

Reference Manual to LL API cross reference (Register Field Functions)

X1BUFCFG FULL_WM LL_FMAC_ConfigX1

X1BUFCFG X1_BASE LL_FMAC_ConfigX1

X1BUFCFG X1_BUF_SIZE LL_FMAC_ConfigX1

Parameters :
  • p_fmac – FMAC instance

  • watermark – This parameter can be one of the following values:

  • base – Base address of the input buffer (X1) within the internal memory. This parameter must be a value between Min_Data=0x00 and Max_Data=0xFF.

  • buffer_size – Number of 16-bit words allocated to the input buffer (including the optional “headroom”). This parameter must be a number between Min_Data=0x01 and Max_Data=0xFF.

void LL_FMAC_ConfigX2 ( FMAC_TypeDef * p_fmac , uint8_t base , uint8_t buffer_size )

Configure memory for X2 buffer.

Reference Manual to LL API cross reference (Register Field Functions)

X2BUFCFG X2_BASE LL_FMAC_ConfigX2

X2BUFCFG X2_BUF_SIZE LL_FMAC_ConfigX2

Parameters :
  • p_fmac – FMAC instance

  • base – Base address of the coefficient buffer (X2) within the internal memory. This parameter must be a value between Min_Data=0x00 and Max_Data=0xFF.

  • buffer_size – Number of 16-bit words allocated to the coefficient buffer. This parameter must be a number between Min_Data=0x01 and Max_Data=0xFF.

void LL_FMAC_ConfigY ( FMAC_TypeDef * p_fmac , uint32_t watermark , uint8_t base , uint8_t buffer_size )

Configure memory for Y buffer.

Reference Manual to LL API cross reference (Register Field Functions)

YBUFCFG EMPTY_WM LL_FMAC_ConfigY

YBUFCFG Y_BASE LL_FMAC_ConfigY

YBUFCFG Y_BUF_SIZE LL_FMAC_ConfigY

Parameters :
  • p_fmac – FMAC instance

  • watermark – This parameter can be one of the following values:

  • base – Base address of the output buffer (Y) within the internal memory. This parameter must be a value between Min_Data=0x00 and Max_Data=0xFF.

  • buffer_size – Number of 16-bit words allocated to the output buffer (including the optional “headroom”). This parameter must be a number between Min_Data=0x01 and Max_Data=0xFF.

void LL_FMAC_ConfigFunc ( FMAC_TypeDef * p_fmac , uint8_t Start , uint32_t function , uint8_t param_p , uint8_t param_q , uint8_t param_r )

Configure the FMAC processing.

Reference Manual to LL API cross reference (Register Field Functions)

PARAM START LL_FMAC_ConfigFunc

PARAM FUNC LL_FMAC_ConfigFunc

PARAM P LL_FMAC_ConfigFunc

PARAM Q LL_FMAC_ConfigFunc

PARAM R LL_FMAC_ConfigFunc

Parameters :

Reset_Management

group FMAC_LL_EF_Reset_Management

Functions

void LL_FMAC_EnableReset ( FMAC_TypeDef * p_fmac )

Start the FMAC reset.

Reference Manual to LL API cross reference (Register Field Functions)

CR RESET LL_FMAC_EnableReset

Parameters :

p_fmac – FMAC instance

uint32_t LL_FMAC_IsEnabledReset ( const FMAC_TypeDef * p_fmac )

Check the state of the FMAC reset.

Reference Manual to LL API cross reference (Register Field Functions)

CR RESET LL_FMAC_IsEnabledReset

Parameters :

p_fmac – FMAC instance

Return values :

uint32_t – State of bit (1 or 0).

DMA_Management

group FMAC_LL_EF_DMA_Management

Functions

void LL_FMAC_EnableDMAReq_WRITE ( FMAC_TypeDef * p_fmac )

Enable FMAC DMA write channel request.

Reference Manual to LL API cross reference (Register Field Functions)

CR DMAWEN LL_FMAC_EnableDMAReq_WRITE

Parameters :

p_fmac – FMAC instance

void LL_FMAC_DisableDMAReq_WRITE ( FMAC_TypeDef * p_fmac )

Disable FMAC DMA write channel request.

Reference Manual to LL API cross reference (Register Field Functions)

CR DMAWEN LL_FMAC_DisableDMAReq_WRITE

Parameters :

p_fmac – FMAC instance

uint32_t LL_FMAC_IsEnabledDMAReq_WRITE ( const FMAC_TypeDef * p_fmac )

Check FMAC DMA write channel request state.

Reference Manual to LL API cross reference (Register Field Functions)

CR DMAWEN LL_FMAC_IsEnabledDMAReq_WRITE

Parameters :

p_fmac – FMAC instance

Return values :

uint32_t – State of bit (1 or 0).

void LL_FMAC_EnableDMAReq_READ ( FMAC_TypeDef * p_fmac )

Enable FMAC DMA read channel request.

Reference Manual to LL API cross reference (Register Field Functions)

CR DMAREN LL_FMAC_EnableDMAReq_READ

Parameters :

p_fmac – FMAC instance

void LL_FMAC_DisableDMAReq_READ ( FMAC_TypeDef * p_fmac )

Disable FMAC DMA read channel request.

Reference Manual to LL API cross reference (Register Field Functions)

CR DMAREN LL_FMAC_DisableDMAReq_READ

Parameters :

p_fmac – FMAC instance

uint32_t LL_FMAC_IsEnabledDMAReq_READ ( const FMAC_TypeDef * p_fmac )

Check FMAC DMA read channel request state.

Reference Manual to LL API cross reference (Register Field Functions)

CR DMAREN LL_FMAC_IsEnabledDMAReq_READ

Parameters :

p_fmac – FMAC instance

Return values :

uint32_t – State of bit (1 or 0).

IT_Management

group FMAC_LL_EF_IT_Management

Functions

void LL_FMAC_EnableIT_SAT ( FMAC_TypeDef * p_fmac )

Enable FMAC saturation error interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

CR SATIEN LL_FMAC_EnableIT_SAT

Parameters :

p_fmac – FMAC instance

void LL_FMAC_DisableIT_SAT ( FMAC_TypeDef * p_fmac )

Disable FMAC saturation error interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

CR SATIEN LL_FMAC_DisableIT_SAT

Parameters :

p_fmac – FMAC instance

uint32_t LL_FMAC_IsEnabledIT_SAT ( const FMAC_TypeDef * p_fmac )

Check FMAC saturation error interrupt state.

Reference Manual to LL API cross reference (Register Field Functions)

CR SATIEN LL_FMAC_IsEnabledIT_SAT

Parameters :

p_fmac – FMAC instance

Return values :

uint32_t – State of bit (1 or 0).

void LL_FMAC_EnableIT_UNFL ( FMAC_TypeDef * p_fmac )

Enable FMAC underflow error interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

CR UNFLIEN LL_FMAC_EnableIT_UNFL

Parameters :

p_fmac – FMAC instance

void LL_FMAC_DisableIT_UNFL ( FMAC_TypeDef * p_fmac )

Disable FMAC underflow error interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

CR UNFLIEN LL_FMAC_DisableIT_UNFL

Parameters :

p_fmac – FMAC instance

uint32_t LL_FMAC_IsEnabledIT_UNFL ( const FMAC_TypeDef * p_fmac )

Check FMAC underflow error interrupt state.

Reference Manual to LL API cross reference (Register Field Functions)

CR UNFLIEN LL_FMAC_IsEnabledIT_UNFL

Parameters :

p_fmac – FMAC instance

Return values :

uint32_t – State of bit (1 or 0).

void LL_FMAC_EnableIT_OVFL ( FMAC_TypeDef * p_fmac )

Enable FMAC overflow error interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

CR OVFLIEN LL_FMAC_EnableIT_OVFL

Parameters :

p_fmac – FMAC instance

void LL_FMAC_DisableIT_OVFL ( FMAC_TypeDef * p_fmac )

Disable FMAC overflow error interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

CR OVFLIEN LL_FMAC_DisableIT_OVFL

Parameters :

p_fmac – FMAC instance

uint32_t LL_FMAC_IsEnabledIT_OVFL ( const FMAC_TypeDef * p_fmac )

Check FMAC overflow error interrupt state.

Reference Manual to LL API cross reference (Register Field Functions)

CR OVFLIEN LL_FMAC_IsEnabledIT_OVFL

Parameters :

p_fmac – FMAC instance

Return values :

uint32_t – State of bit (1 or 0).

void LL_FMAC_EnableIT_WR ( FMAC_TypeDef * p_fmac )

Enable FMAC write interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

CR WIEN LL_FMAC_EnableIT_WR

Parameters :

p_fmac – FMAC instance

void LL_FMAC_DisableIT_WR ( FMAC_TypeDef * p_fmac )

Disable FMAC write interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

CR WIEN LL_FMAC_DisableIT_WR

Parameters :

p_fmac – FMAC instance

uint32_t LL_FMAC_IsEnabledIT_WR ( const FMAC_TypeDef * p_fmac )

Check FMAC write interrupt state.

Reference Manual to LL API cross reference (Register Field Functions)

CR WIEN LL_FMAC_IsEnabledIT_WR

Parameters :

p_fmac – FMAC instance

Return values :

uint32_t – State of bit (1 or 0).

void LL_FMAC_EnableIT_RD ( FMAC_TypeDef * p_fmac )

Enable FMAC read interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

CR RIEN LL_FMAC_EnableIT_RD

Parameters :

p_fmac – FMAC instance

void LL_FMAC_DisableIT_RD ( FMAC_TypeDef * p_fmac )

Disable FMAC read interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

CR RIEN LL_FMAC_DisableIT_RD

Parameters :

p_fmac – FMAC instance

uint32_t LL_FMAC_IsEnabledIT_RD ( const FMAC_TypeDef * p_fmac )

Check FMAC read interrupt state.

Reference Manual to LL API cross reference (Register Field Functions)

CR RIEN LL_FMAC_IsEnabledIT_RD

Parameters :

p_fmac – FMAC instance

Return values :

uint32_t – State of bit (1 or 0).

FLAG_Management

group FMAC_LL_EF_FLAG_Management

Functions

uint32_t LL_FMAC_IsActiveFlag_SAT ( const FMAC_TypeDef * p_fmac )

Check FMAC saturation error flag state.

Reference Manual to LL API cross reference (Register Field Functions)

SR SAT LL_FMAC_IsActiveFlag_SAT

Parameters :

p_fmac – FMAC instance

Return values :

uint32_t – State of bit (1 or 0).

uint32_t LL_FMAC_IsActiveFlag_UNFL ( const FMAC_TypeDef * p_fmac )

Check FMAC underflow error flag state.

Reference Manual to LL API cross reference (Register Field Functions)

SR UNFL LL_FMAC_IsActiveFlag_UNFL

Parameters :

p_fmac – FMAC instance

Return values :

uint32_t – State of bit (1 or 0).

uint32_t LL_FMAC_IsActiveFlag_OVFL ( const FMAC_TypeDef * p_fmac )

Check FMAC overflow error flag state.

Reference Manual to LL API cross reference (Register Field Functions)

SR OVFL LL_FMAC_IsActiveFlag_OVFL

Parameters :

p_fmac – FMAC instance

Return values :

uint32_t – State of bit (1 or 0).

uint32_t LL_FMAC_IsActiveFlag_X1FULL ( const FMAC_TypeDef * p_fmac )

Check FMAC X1 buffer full flag state.

Reference Manual to LL API cross reference (Register Field Functions)

SR X1FULL LL_FMAC_IsActiveFlag_X1FULL

Parameters :

p_fmac – FMAC instance

Return values :

uint32_t – State of bit (1 or 0).

uint32_t LL_FMAC_IsActiveFlag_YEMPTY ( const FMAC_TypeDef * p_fmac )

Check FMAC Y buffer empty flag state.

Reference Manual to LL API cross reference (Register Field Functions)

SR YEMPTY LL_FMAC_IsActiveFlag_YEMPTY

Parameters :

p_fmac – FMAC instance

Return values :

uint32_t – State of bit (1 or 0).

Data_Management

group FMAC_LL_EF_Data_Management

Functions

void LL_FMAC_WriteData ( FMAC_TypeDef * p_fmac , int16_t InData )

Write 16-bit input data for the FMAC processing.

Reference Manual to LL API cross reference (Register Field Functions)

WDATA WDATA LL_FMAC_WriteData

Parameters :
  • p_fmac – FMAC instance

  • InData – 16-bit value to be provided as input data for FMAC processing. This parameter must be a number between Min_Data=0x0000 and Max_Data=0xFFFF.

int16_t LL_FMAC_ReadData ( const FMAC_TypeDef * p_fmac )

Return 16-bit output data of FMAC processing.

Reference Manual to LL API cross reference (Register Field Functions)

RDATA RDATA LL_FMAC_ReadData

Parameters :

p_fmac – FMAC instance

Return values :

uint16_t – 16-bit output data of FMAC processing (value between Min_Data=0x0000 and Max_Data=0xFFFF).