STM32F439xx HAL User Manual
Functions
State functions
PCCARD Exported Functions

Peripheral State functions. More...

Functions

HAL_PCCARD_StateTypeDef HAL_PCCARD_GetState (PCCARD_HandleTypeDef *hpccard)
 return the PCCARD controller state
HAL_PCCARD_StatusTypeDef HAL_PCCARD_GetStatus (PCCARD_HandleTypeDef *hpccard)
 Get the compact flash memory status.
HAL_PCCARD_StatusTypeDef HAL_PCCARD_ReadStatus (PCCARD_HandleTypeDef *hpccard)
 Reads the Compact Flash memory status using the Read status command.

Detailed Description

Peripheral State functions.

  ==============================================================================
                      ##### PCCARD State functions #####
  ==============================================================================  
  [..]
    This subsection permits to get in run-time the status of the PCCARD controller 
    and the data flow.


Function Documentation

return the PCCARD controller state

Parameters:
hpccardpointer to a PCCARD_HandleTypeDef structure that contains the configuration information for PCCARD module.
Return values:
HALstate

Definition at line 652 of file stm32f4xx_hal_pccard.c.

References PCCARD_HandleTypeDef::State.

Get the compact flash memory status.

Parameters:
hpccardpointer to a PCCARD_HandleTypeDef structure that contains the configuration information for PCCARD module.
Return values:
Newstatus of the PCCARD operation. This parameter can be:
  • CompactFlash_TIMEOUT_ERROR: when the previous operation generate a Timeout error
  • CompactFlash_READY: when memory is ready for the next operation

Definition at line 666 of file stm32f4xx_hal_pccard.c.

References ATA_STATUS_CMD_ALTERNATE, HAL_PCCARD_STATE_BUSY, HAL_PCCARD_STATUS_ONGOING, PCCARD_BUSY, PCCARD_IO_SPACE_PRIMARY_ADDR, PCCARD_TIMEOUT_ERROR, PCCARD_TIMEOUT_STATUS, and PCCARD_HandleTypeDef::State.

Reads the Compact Flash memory status using the Read status command.

Parameters:
hpccardpointer to a PCCARD_HandleTypeDef structure that contains the configuration information for PCCARD module.
Return values:
Thestatus of the Compact Flash memory. This parameter can be:
  • CompactFlash_BUSY: when memory is busy
  • CompactFlash_READY: when memory is ready for the next operation
  • CompactFlash_ERROR: when the previous operation generates error

Definition at line 702 of file stm32f4xx_hal_pccard.c.

References ATA_STATUS_CMD_ALTERNATE, HAL_PCCARD_STATE_BUSY, HAL_PCCARD_STATUS_ONGOING, PCCARD_BUSY, PCCARD_IO_SPACE_PRIMARY_ADDR, PCCARD_READY, PCCARD_TIMEOUT_ERROR, and PCCARD_HandleTypeDef::State.