STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
Peripheral State and Errors functions
Collaboration diagram for Peripheral State and Errors functions:

Functions

HAL_SD_StateTypeDef HAL_SD_GetState (SD_HandleTypeDef *hsd)
 return the SD state
 
uint32_t HAL_SD_GetError (SD_HandleTypeDef *hsd)
 Return the SD error code.
 

Detailed Description

Function Documentation

◆ HAL_SD_GetState()

HAL_SD_StateTypeDef HAL_SD_GetState ( SD_HandleTypeDef * hsd)

#include <stm32f4xx_hal_sd.h>

return the SD state

Parameters
hsdPointer to sd handle
Return values
HALstate

Definition at line 1736 of file stm32f4xx_hal_sd.c.

References SD_HandleTypeDef::State.

◆ HAL_SD_GetError()

uint32_t HAL_SD_GetError ( SD_HandleTypeDef * hsd)

#include <stm32f4xx_hal_sd.h>

Return the SD error code.

Parameters
hsd: Pointer to a SD_HandleTypeDef structure that contains the configuration information.
Return values
SDError Code

Definition at line 1747 of file stm32f4xx_hal_sd.c.

References SD_HandleTypeDef::ErrorCode.