STM32H735xx HAL User Manual
|
Header file of FMAC LL module. More...
#include "stm32h7xx.h"
Go to the source code of this file.
Defines | |
#define | LL_FMAC_SR_SAT FMAC_SR_SAT |
#define | LL_FMAC_SR_UNFL FMAC_SR_UNFL |
#define | LL_FMAC_SR_OVFL FMAC_SR_OVFL |
#define | LL_FMAC_SR_X1FULL FMAC_SR_X1FULL |
#define | LL_FMAC_SR_YEMPTY FMAC_SR_YEMPTY |
#define | LL_FMAC_CR_SATIEN FMAC_CR_SATIEN |
#define | LL_FMAC_CR_UNFLIEN FMAC_CR_UNFLIEN |
#define | LL_FMAC_CR_OVFLIEN FMAC_CR_OVFLIEN |
#define | LL_FMAC_CR_WIEN FMAC_CR_WIEN |
#define | LL_FMAC_CR_RIEN FMAC_CR_RIEN |
#define | LL_FMAC_WM_0_THRESHOLD_1 0x00000000U |
#define | LL_FMAC_WM_1_THRESHOLD_2 0x01000000U |
#define | LL_FMAC_WM_2_THRESHOLD_4 0x02000000U |
#define | LL_FMAC_WM_3_THRESHOLD_8 0x03000000U |
#define | LL_FMAC_FUNC_LOAD_X1 (FMAC_PARAM_FUNC_0) |
#define | LL_FMAC_FUNC_LOAD_X2 (FMAC_PARAM_FUNC_1) |
#define | LL_FMAC_FUNC_LOAD_Y (FMAC_PARAM_FUNC_1 | FMAC_PARAM_FUNC_0) |
#define | LL_FMAC_FUNC_CONVO_FIR (FMAC_PARAM_FUNC_3) |
#define | LL_FMAC_FUNC_IIR_DIRECT_FORM_1 (FMAC_PARAM_FUNC_3 | FMAC_PARAM_FUNC_0) |
#define | LL_FMAC_PROCESSING_STOP 0x00U |
#define | LL_FMAC_PROCESSING_START 0x01U |
#define | LL_FMAC_WriteReg(__INSTANCE__, __REG__, __VALUE__) WRITE_REG(__INSTANCE__->__REG__, (__VALUE__)) |
Write a value in FMAC register. | |
#define | LL_FMAC_ReadReg(__INSTANCE__, __REG__) READ_REG(__INSTANCE__->__REG__) |
Read a value in FMAC register. | |
Functions | |
__STATIC_INLINE void | LL_FMAC_SetX1FullWatermark (FMAC_TypeDef *FMACx, uint32_t Watermark) |
Configure X1 full watermark. | |
__STATIC_INLINE uint32_t | LL_FMAC_GetX1FullWatermark (FMAC_TypeDef *FMACx) |
Return X1 full watermark. | |
__STATIC_INLINE void | LL_FMAC_SetX1BufferSize (FMAC_TypeDef *FMACx, uint8_t BufferSize) |
Configure X1 buffer size. | |
__STATIC_INLINE uint8_t | LL_FMAC_GetX1BufferSize (FMAC_TypeDef *FMACx) |
Return X1 buffer size. | |
__STATIC_INLINE void | LL_FMAC_SetX1Base (FMAC_TypeDef *FMACx, uint8_t Base) |
Configure X1 base. | |
__STATIC_INLINE uint8_t | LL_FMAC_GetX1Base (FMAC_TypeDef *FMACx) |
Return X1 base. | |
__STATIC_INLINE void | LL_FMAC_SetX2BufferSize (FMAC_TypeDef *FMACx, uint8_t BufferSize) |
Configure X2 buffer size. | |
__STATIC_INLINE uint8_t | LL_FMAC_GetX2BufferSize (FMAC_TypeDef *FMACx) |
Return X2 buffer size. | |
__STATIC_INLINE void | LL_FMAC_SetX2Base (FMAC_TypeDef *FMACx, uint8_t Base) |
Configure X2 base. | |
__STATIC_INLINE uint8_t | LL_FMAC_GetX2Base (FMAC_TypeDef *FMACx) |
Return X2 base. | |
__STATIC_INLINE void | LL_FMAC_SetYEmptyWatermark (FMAC_TypeDef *FMACx, uint32_t Watermark) |
Configure Y empty watermark. | |
__STATIC_INLINE uint32_t | LL_FMAC_GetYEmptyWatermark (FMAC_TypeDef *FMACx) |
Return Y empty watermark. | |
__STATIC_INLINE void | LL_FMAC_SetYBufferSize (FMAC_TypeDef *FMACx, uint8_t BufferSize) |
Configure Y buffer size. | |
__STATIC_INLINE uint8_t | LL_FMAC_GetYBufferSize (FMAC_TypeDef *FMACx) |
Return Y buffer size. | |
__STATIC_INLINE void | LL_FMAC_SetYBase (FMAC_TypeDef *FMACx, uint8_t Base) |
Configure Y base. | |
__STATIC_INLINE uint8_t | LL_FMAC_GetYBase (FMAC_TypeDef *FMACx) |
Return Y base. | |
__STATIC_INLINE void | LL_FMAC_EnableStart (FMAC_TypeDef *FMACx) |
Start FMAC processing. | |
__STATIC_INLINE void | LL_FMAC_DisableStart (FMAC_TypeDef *FMACx) |
Stop FMAC processing. | |
__STATIC_INLINE uint32_t | LL_FMAC_IsEnabledStart (FMAC_TypeDef *FMACx) |
Check the state of FMAC processing. | |
__STATIC_INLINE void | LL_FMAC_SetFunction (FMAC_TypeDef *FMACx, uint32_t Function) |
Configure function. | |
__STATIC_INLINE uint32_t | LL_FMAC_GetFunction (FMAC_TypeDef *FMACx) |
Return function. | |
__STATIC_INLINE void | LL_FMAC_SetParamR (FMAC_TypeDef *FMACx, uint8_t Param) |
Configure input parameter R. | |
__STATIC_INLINE uint8_t | LL_FMAC_GetParamR (FMAC_TypeDef *FMACx) |
Return input parameter R. | |
__STATIC_INLINE void | LL_FMAC_SetParamQ (FMAC_TypeDef *FMACx, uint8_t Param) |
Configure input parameter Q. | |
__STATIC_INLINE uint8_t | LL_FMAC_GetParamQ (FMAC_TypeDef *FMACx) |
Return input parameter Q. | |
__STATIC_INLINE void | LL_FMAC_SetParamP (FMAC_TypeDef *FMACx, uint8_t Param) |
Configure input parameter P. | |
__STATIC_INLINE uint8_t | LL_FMAC_GetParamP (FMAC_TypeDef *FMACx) |
Return input parameter P. | |
__STATIC_INLINE void | LL_FMAC_EnableReset (FMAC_TypeDef *FMACx) |
Start the FMAC reset. | |
__STATIC_INLINE uint32_t | LL_FMAC_IsEnabledReset (FMAC_TypeDef *FMACx) |
Check the state of the FMAC reset. | |
__STATIC_INLINE void | LL_FMAC_EnableClipping (FMAC_TypeDef *FMACx) |
Enable Clipping. | |
__STATIC_INLINE void | LL_FMAC_DisableClipping (FMAC_TypeDef *FMACx) |
Disable Clipping. | |
__STATIC_INLINE uint32_t | LL_FMAC_IsEnabledClipping (FMAC_TypeDef *FMACx) |
Check Clipping State. | |
__STATIC_INLINE void | LL_FMAC_EnableDMAReq_WRITE (FMAC_TypeDef *FMACx) |
Enable FMAC DMA write channel request. | |
__STATIC_INLINE void | LL_FMAC_DisableDMAReq_WRITE (FMAC_TypeDef *FMACx) |
Disable FMAC DMA write channel request. | |
__STATIC_INLINE uint32_t | LL_FMAC_IsEnabledDMAReq_WRITE (FMAC_TypeDef *FMACx) |
Check FMAC DMA write channel request state. | |
__STATIC_INLINE void | LL_FMAC_EnableDMAReq_READ (FMAC_TypeDef *FMACx) |
Enable FMAC DMA read channel request. | |
__STATIC_INLINE void | LL_FMAC_DisableDMAReq_READ (FMAC_TypeDef *FMACx) |
Disable FMAC DMA read channel request. | |
__STATIC_INLINE uint32_t | LL_FMAC_IsEnabledDMAReq_READ (FMAC_TypeDef *FMACx) |
Check FMAC DMA read channel request state. | |
__STATIC_INLINE void | LL_FMAC_EnableIT_SAT (FMAC_TypeDef *FMACx) |
Enable FMAC saturation error interrupt. | |
__STATIC_INLINE void | LL_FMAC_DisableIT_SAT (FMAC_TypeDef *FMACx) |
Disable FMAC saturation error interrupt. | |
__STATIC_INLINE uint32_t | LL_FMAC_IsEnabledIT_SAT (FMAC_TypeDef *FMACx) |
Check FMAC saturation error interrupt state. | |
__STATIC_INLINE void | LL_FMAC_EnableIT_UNFL (FMAC_TypeDef *FMACx) |
Enable FMAC underflow error interrupt. | |
__STATIC_INLINE void | LL_FMAC_DisableIT_UNFL (FMAC_TypeDef *FMACx) |
Disable FMAC underflow error interrupt. | |
__STATIC_INLINE uint32_t | LL_FMAC_IsEnabledIT_UNFL (FMAC_TypeDef *FMACx) |
Check FMAC underflow error interrupt state. | |
__STATIC_INLINE void | LL_FMAC_EnableIT_OVFL (FMAC_TypeDef *FMACx) |
Enable FMAC overflow error interrupt. | |
__STATIC_INLINE void | LL_FMAC_DisableIT_OVFL (FMAC_TypeDef *FMACx) |
Disable FMAC overflow error interrupt. | |
__STATIC_INLINE uint32_t | LL_FMAC_IsEnabledIT_OVFL (FMAC_TypeDef *FMACx) |
Check FMAC overflow error interrupt state. | |
__STATIC_INLINE void | LL_FMAC_EnableIT_WR (FMAC_TypeDef *FMACx) |
Enable FMAC write interrupt. | |
__STATIC_INLINE void | LL_FMAC_DisableIT_WR (FMAC_TypeDef *FMACx) |
Disable FMAC write interrupt. | |
__STATIC_INLINE uint32_t | LL_FMAC_IsEnabledIT_WR (FMAC_TypeDef *FMACx) |
Check FMAC write interrupt state. | |
__STATIC_INLINE void | LL_FMAC_EnableIT_RD (FMAC_TypeDef *FMACx) |
Enable FMAC read interrupt. | |
__STATIC_INLINE void | LL_FMAC_DisableIT_RD (FMAC_TypeDef *FMACx) |
Disable FMAC read interrupt. | |
__STATIC_INLINE uint32_t | LL_FMAC_IsEnabledIT_RD (FMAC_TypeDef *FMACx) |
Check FMAC read interrupt state. | |
__STATIC_INLINE uint32_t | LL_FMAC_IsActiveFlag_SAT (FMAC_TypeDef *FMACx) |
Check FMAC saturation error flag state. | |
__STATIC_INLINE uint32_t | LL_FMAC_IsActiveFlag_UNFL (FMAC_TypeDef *FMACx) |
Check FMAC underflow error flag state. | |
__STATIC_INLINE uint32_t | LL_FMAC_IsActiveFlag_OVFL (FMAC_TypeDef *FMACx) |
Check FMAC overflow error flag state. | |
__STATIC_INLINE uint32_t | LL_FMAC_IsActiveFlag_X1FULL (FMAC_TypeDef *FMACx) |
Check FMAC X1 buffer full flag state. | |
__STATIC_INLINE uint32_t | LL_FMAC_IsActiveFlag_YEMPTY (FMAC_TypeDef *FMACx) |
Check FMAC Y buffer empty flag state. | |
__STATIC_INLINE void | LL_FMAC_WriteData (FMAC_TypeDef *FMACx, uint16_t InData) |
Write 16-bit input data for the FMAC processing. | |
__STATIC_INLINE uint16_t | LL_FMAC_ReadData (FMAC_TypeDef *FMACx) |
Return 16-bit output data of FMAC processing. | |
__STATIC_INLINE void | LL_FMAC_ConfigX1 (FMAC_TypeDef *FMACx, uint32_t Watermark, uint8_t Base, uint8_t BufferSize) |
Configure memory for X1 buffer. | |
__STATIC_INLINE void | LL_FMAC_ConfigX2 (FMAC_TypeDef *FMACx, uint8_t Base, uint8_t BufferSize) |
Configure memory for X2 buffer. | |
__STATIC_INLINE void | LL_FMAC_ConfigY (FMAC_TypeDef *FMACx, uint32_t Watermark, uint8_t Base, uint8_t BufferSize) |
Configure memory for Y buffer. | |
__STATIC_INLINE void | LL_FMAC_ConfigFunc (FMAC_TypeDef *FMACx, uint8_t Start, uint32_t Function, uint8_t ParamP, uint8_t ParamQ, uint8_t ParamR) |
Configure the FMAC processing. | |
ErrorStatus | LL_FMAC_Init (FMAC_TypeDef *FMACx) |
Initialize FMAC peripheral registers to their default reset values. | |
ErrorStatus | LL_FMAC_DeInit (FMAC_TypeDef *FMACx) |
De-Initialize FMAC peripheral registers to their default reset values. |
Header file of FMAC LL module.
Copyright (c) 2017 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
Definition in file stm32h7xx_ll_fmac.h.