STM32G474xx HAL用户手册
函数
外设状态函数
CORDIC导出函数

外设状态函数。 更多...

函数

HAL_CORDIC_StateTypeDef HAL_CORDIC_GetState (const CORDIC_HandleTypeDef *hcordic)
 返回CORDIC句柄状态。
uint32_t HAL_CORDIC_GetError (const CORDIC_HandleTypeDef *hcordic)
 返回CORDIC外设错误。

详细描述

外设状态函数。

  ==============================================================================
                      ##### 外设状态函数 #####
  ==============================================================================
    [..]
    本小节允许在运行时获取外设的状态。


函数文档

uint32_t HAL_CORDIC_GetError ( const CORDIC_HandleTypeDef hcordic)

返回CORDIC外设错误。

参数:
hcordic指向CORDIC_HandleTypeDef结构的指针,该结构包含CORDIC模块的配置信息
注意:
返回的错误是可能错误的位图组合
返回值:
Error错误位图

定义于文件1181行,文件stm32g4xx_hal_cordic.c

引用 __CORDIC_HandleTypeDef::ErrorCode

返回CORDIC句柄状态。

参数:
hcordic指向CORDIC_HandleTypeDef结构的指针,该结构包含CORDIC模块的配置信息
返回值:
HAL状态

定义于文件1168行,文件stm32g4xx_hal_cordic.c

引用 __CORDIC_HandleTypeDef::State