STM32G474xx HAL User Manual
函数
初始化和反初始化函数
FMAC Exported Functions

函数

ErrorStatus LL_FMAC_Init (FMAC_TypeDef *FMACx)
 将FMAC外设寄存器初始化为其默认复位值。
ErrorStatus LL_FMAC_DeInit (const FMAC_TypeDef *FMACx)
 将FMAC外设寄存器反初始化为其默认复位值。

函数文档

ErrorStatus LL_FMAC_DeInit ( const FMAC_TypeDef *  FMACx)

将FMAC外设寄存器反初始化为其默认复位值。

参数:
FMACxFMAC实例
返回值:
ErrorStatus枚举值:
  • SUCCESS: FMAC寄存器已反初始化
  • ERROR: FMAC寄存器未反初始化

Definition at line 93 of file stm32g4xx_ll_fmac.c.

References assert_param, LL_AHB1_GRP1_ForceReset(), LL_AHB1_GRP1_PERIPH_FMAC, and LL_AHB1_GRP1_ReleaseReset().

ErrorStatus LL_FMAC_Init ( FMAC_TypeDef *  FMACx)

将FMAC外设寄存器初始化为其默认复位值。

参数:
FMACxFMAC实例
返回值:
ErrorStatus枚举值:
  • SUCCESS: FMAC寄存器已初始化
  • ERROR: FMAC寄存器未初始化

Definition at line 61 of file stm32g4xx_ll_fmac.c.

References assert_param, LL_FMAC_EnableReset(), and LL_FMAC_IsEnabledReset().