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

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

函数

HAL_SAI_StateTypeDef HAL_SAI_GetState (const SAI_HandleTypeDef *hsai)
 返回SAI句柄状态。
uint32_t HAL_SAI_GetError (const SAI_HandleTypeDef *hsai)
 返回SAI错误代码。

详细说明

外设状态函数。

  ===============================================================================
                ##### 外设状态和错误函数 #####
  ===============================================================================
  [..]
    本小节允许在运行时获取外设状态和数据流。


函数文档

uint32_t HAL_SAI_GetError ( const SAI_HandleTypeDef hsai)

返回SAI错误代码。

参数:
hsai指向SAI_HandleTypeDef结构的指针,该结构包含用于指定SAI模块的配置信息。
返回值:
SAI错误代码

Definition at line 2066 of file stm32g4xx_hal_sai.c.

References __SAI_HandleTypeDef::ErrorCode.

返回SAI句柄状态。

参数:
hsai指向SAI_HandleTypeDef结构的指针,该结构包含SAI模块的配置信息。
返回值:
HAL状态

Definition at line 2055 of file stm32g4xx_hal_sai.c.

References __SAI_HandleTypeDef::State.