STM32F4xx_HAL_Driver  1.8.3
Input and Output functions

Input Output and memory control functions. More...

+ Collaboration diagram for Input and Output functions:

Functions

HAL_StatusTypeDef HAL_PCCARD_Read_ID (PCCARD_HandleTypeDef *hpccard, uint8_t CompactFlash_ID[], uint8_t *pStatus)
 Read Compact Flash's ID. More...
 
HAL_StatusTypeDef HAL_PCCARD_Write_Sector (PCCARD_HandleTypeDef *hpccard, uint16_t *pBuffer, uint16_t SectorAddress, uint8_t *pStatus)
 Write sector to PCCARD memory. More...
 
HAL_StatusTypeDef HAL_PCCARD_Read_Sector (PCCARD_HandleTypeDef *hpccard, uint16_t *pBuffer, uint16_t SectorAddress, uint8_t *pStatus)
 Read sector from PCCARD memory. More...
 
HAL_StatusTypeDef HAL_PCCARD_Erase_Sector (PCCARD_HandleTypeDef *hpccard, uint16_t SectorAddress, uint8_t *pStatus)
 Erase sector from PCCARD memory. More...
 
HAL_StatusTypeDef HAL_PCCARD_Reset (PCCARD_HandleTypeDef *hpccard)
 Reset the PCCARD memory. More...
 
void HAL_PCCARD_IRQHandler (PCCARD_HandleTypeDef *hpccard)
 This function handles PCCARD device interrupt request. More...
 
void HAL_PCCARD_ITCallback (PCCARD_HandleTypeDef *hpccard)
 PCCARD interrupt feature callback. More...
 
HAL_StatusTypeDef HAL_PCCARD_RegisterCallback (PCCARD_HandleTypeDef *hpccard, HAL_PCCARD_CallbackIDTypeDef CallbackId, pPCCARD_CallbackTypeDef pCallback)
 Register a User PCCARD Callback To be used instead of the weak (surcharged) predefined callback. More...
 
HAL_StatusTypeDef HAL_PCCARD_UnRegisterCallback (PCCARD_HandleTypeDef *hpccard, HAL_PCCARD_CallbackIDTypeDef CallbackId)
 Unregister a User PCCARD Callback PCCARD Callback is redirected to the weak (surcharged) predefined callback. More...
 

Detailed Description

Input Output and memory control functions.

  ==============================================================================
                    ##### PCCARD Input and Output functions #####
  ==============================================================================
  [..]
    This section provides functions allowing to use and control the PCCARD memory

Function Documentation

◆ HAL_PCCARD_Erase_Sector()

HAL_StatusTypeDef HAL_PCCARD_Erase_Sector ( PCCARD_HandleTypeDef hpccard,
uint16_t  SectorAddress,
uint8_t *  pStatus 
)

Erase sector from PCCARD memory.

Parameters
hpccardpointer to a PCCARD_HandleTypeDef structure that contains the configuration information for PCCARD module.
SectorAddressSector address to erase
pStatuspointer to PCCARD status
Return values
HALstatus

Definition at line 522 of file stm32f4xx_hal_pccard.c.

◆ HAL_PCCARD_IRQHandler()

void HAL_PCCARD_IRQHandler ( PCCARD_HandleTypeDef hpccard)

This function handles PCCARD device interrupt request.

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

Definition at line 617 of file stm32f4xx_hal_pccard.c.

◆ HAL_PCCARD_ITCallback()

__weak void HAL_PCCARD_ITCallback ( PCCARD_HandleTypeDef hpccard)

PCCARD interrupt feature callback.

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

Definition at line 682 of file stm32f4xx_hal_pccard.c.

◆ HAL_PCCARD_Read_ID()

HAL_StatusTypeDef HAL_PCCARD_Read_ID ( PCCARD_HandleTypeDef hpccard,
uint8_t  CompactFlash_ID[],
uint8_t *  pStatus 
)

Read Compact Flash's ID.

Parameters
hpccardpointer to a PCCARD_HandleTypeDef structure that contains the configuration information for PCCARD module.
CompactFlash_IDCompact flash ID structure.
pStatuspointer to compact flash status
Return values
HALstatus

Definition at line 308 of file stm32f4xx_hal_pccard.c.

◆ HAL_PCCARD_Read_Sector()

HAL_StatusTypeDef HAL_PCCARD_Read_Sector ( PCCARD_HandleTypeDef hpccard,
uint16_t *  pBuffer,
uint16_t  SectorAddress,
uint8_t *  pStatus 
)

Read sector from PCCARD memory.

Parameters
hpccardpointer to a PCCARD_HandleTypeDef structure that contains the configuration information for PCCARD module.
pBufferpointer to destination read buffer
SectorAddressSector address to read
pStatuspointer to PCCARD status
Return values
HALstatus

Definition at line 371 of file stm32f4xx_hal_pccard.c.

◆ HAL_PCCARD_RegisterCallback()

HAL_StatusTypeDef HAL_PCCARD_RegisterCallback ( PCCARD_HandleTypeDef hpccard,
HAL_PCCARD_CallbackIDTypeDef  CallbackId,
pPCCARD_CallbackTypeDef  pCallback 
)

Register a User PCCARD Callback To be used instead of the weak (surcharged) predefined callback.

Parameters
hpccard: PCCARD handle
CallbackId: ID of the callback to be registered This parameter can be one of the following values:
pCallback: pointer to the Callback function
Return values
status

Definition at line 704 of file stm32f4xx_hal_pccard.c.

◆ HAL_PCCARD_Reset()

HAL_StatusTypeDef HAL_PCCARD_Reset ( PCCARD_HandleTypeDef hpccard)

Reset the PCCARD memory.

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

Definition at line 579 of file stm32f4xx_hal_pccard.c.

◆ HAL_PCCARD_UnRegisterCallback()

HAL_StatusTypeDef HAL_PCCARD_UnRegisterCallback ( PCCARD_HandleTypeDef hpccard,
HAL_PCCARD_CallbackIDTypeDef  CallbackId 
)

Unregister a User PCCARD Callback PCCARD Callback is redirected to the weak (surcharged) predefined callback.

Parameters
hpccard: PCCARD handle
CallbackId: ID of the callback to be unregistered This parameter can be one of the following values:
Return values
status

Definition at line 774 of file stm32f4xx_hal_pccard.c.

◆ HAL_PCCARD_Write_Sector()

HAL_StatusTypeDef HAL_PCCARD_Write_Sector ( PCCARD_HandleTypeDef hpccard,
uint16_t *  pBuffer,
uint16_t  SectorAddress,
uint8_t *  pStatus 
)

Write sector to PCCARD memory.

Parameters
hpccardpointer to a PCCARD_HandleTypeDef structure that contains the configuration information for PCCARD module.
pBufferpointer to source write buffer
SectorAddressSector address to write
pStatuspointer to PCCARD status
Return values
HALstatus

Definition at line 448 of file stm32f4xx_hal_pccard.c.