Input Output and memory control functions.
More...
|
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...
|
|
Input Output and memory control functions.
==============================================================================
##### PCCARD Input and Output functions #####
==============================================================================
[..]
This section provides functions allowing to use and control the PCCARD memory
◆ 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
-
hpccard | pointer to a PCCARD_HandleTypeDef structure that contains the configuration information for PCCARD module. |
SectorAddress | Sector address to erase |
pStatus | pointer to PCCARD status |
- Return values
-
Definition at line 522 of file stm32f4xx_hal_pccard.c.
◆ HAL_PCCARD_IRQHandler()
This function handles PCCARD device interrupt request.
- Parameters
-
hpccard | pointer to a PCCARD_HandleTypeDef structure that contains the configuration information for PCCARD module. |
- Return values
-
Definition at line 617 of file stm32f4xx_hal_pccard.c.
◆ HAL_PCCARD_ITCallback()
PCCARD interrupt feature callback.
- Parameters
-
hpccard | pointer to a PCCARD_HandleTypeDef structure that contains the configuration information for PCCARD module. |
- Return values
-
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
-
hpccard | pointer to a PCCARD_HandleTypeDef structure that contains the configuration information for PCCARD module. |
CompactFlash_ID | Compact flash ID structure. |
pStatus | pointer to compact flash status |
- Return values
-
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
-
hpccard | pointer to a PCCARD_HandleTypeDef structure that contains the configuration information for PCCARD module. |
pBuffer | pointer to destination read buffer |
SectorAddress | Sector address to read |
pStatus | pointer to PCCARD status |
- Return values
-
Definition at line 371 of file stm32f4xx_hal_pccard.c.
◆ HAL_PCCARD_RegisterCallback()
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
-
Definition at line 704 of file stm32f4xx_hal_pccard.c.
◆ HAL_PCCARD_Reset()
Reset the PCCARD memory.
- Parameters
-
hpccard | pointer to a PCCARD_HandleTypeDef structure that contains the configuration information for PCCARD module. |
- Return values
-
Definition at line 579 of file stm32f4xx_hal_pccard.c.
◆ HAL_PCCARD_UnRegisterCallback()
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
-
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
-
hpccard | pointer to a PCCARD_HandleTypeDef structure that contains the configuration information for PCCARD module. |
pBuffer | pointer to source write buffer |
SectorAddress | Sector address to write |
pStatus | pointer to PCCARD status |
- Return values
-
Definition at line 448 of file stm32f4xx_hal_pccard.c.