Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
cubexHal.pdf
Скачиваний:
110
Добавлен:
10.02.2016
Размер:
16.16 Mб
Скачать

HAL PCCARD Generic Driver

 

UM1725

Function Name

void HAL_PCCARD_IRQHandler (PCCARD_HandleTypeDef *

 

hpccard)

Function Description

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

 

HAL status

39.2.15HAL_PCCARD_ITCallback

Function Name

void HAL_PCCARD_ITCallback (PCCARD_HandleTypeDef *

 

hpccard)

Function Description

PCCARD interrupt feature callback.

Parameters

 

hpccard: pointer to a PCCARD_HandleTypeDef structure

 

 

that contains the configuration information for PCCARD

 

 

module.

Return values

 

None

39.2.16HAL_PCCARD_GetState

Function Name

HAL_PCCARD_StateTypeDef HAL_PCCARD_GetState

 

(PCCARD_HandleTypeDef * hpccard)

Function Description

return the PCCARD controller state

Parameters

 

hpccard: pointer to a PCCARD_HandleTypeDef structure

 

 

that contains the configuration information for PCCARD

 

 

module.

Return values

 

HAL state

39.2.17HAL_PCCARD_GetStatus

Function Name

HAL_PCCARD_StatusTypeDef HAL_PCCARD_GetStatus

 

(PCCARD_HandleTypeDef * hpccard)

Function Description

Get the compact flash memory status.

Parameters

hpccard: pointer to a PCCARD_HandleTypeDef structure

 

that contains the configuration information for PCCARD

 

module.

Return values

New status of the PCCARD operation. This parameter can

 

be: CompactFlash_TIMEOUT_ERROR: when the previous

 

operation generate a Timeout errorCompactFlash_READY:

 

when memory is ready for the next operation

39.2.18HAL_PCCARD_ReadStatus

Function Name

HAL_PCCARD_StatusTypeDef HAL_PCCARD_ReadStatus

 

(PCCARD_HandleTypeDef * hpccard)

Function Description

Reads the Compact Flash memory status using the Read status

 

command.

498/900

DOCID025834 Rev 2

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]