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

HAL NOR Generic Driver

 

UM1725

Function Name

HAL_StatusTypeDef HAL_NOR_ProgramBuffer

 

(NOR_HandleTypeDef * hnor, uint32_t uwAddress, uint16_t *

 

pData, uint32_t uwBufferSize)

Function Description

Writes a half-word buffer to the NOR memory.

Parameters

 

hnor: pointer to the NOR handle

 

uwAddress: NOR memory internal start write address

 

pData: pointer to source data buffer.

 

uwBufferSize: Size of the buffer to write

Return values

 

HAL status

38.2.17HAL_NOR_Erase_Block

Function Name

HAL_StatusTypeDef HAL_NOR_Erase_Block

 

(NOR_HandleTypeDef * hnor, uint32_t BlockAddress, uint32_t

 

Address)

Function Description

Erase the specified block of the NOR memory.

Parameters

 

hnor: pointer to the NOR handle

 

 

BlockAddress: : Block to erase address

 

 

Address: Device address

Return values

 

HAL status

38.2.18HAL_NOR_Erase_Chip

Function Name

HAL_StatusTypeDef HAL_NOR_Erase_Chip

 

(NOR_HandleTypeDef * hnor, uint32_t Address)

Function Description

Erase the entire NOR chip.

Parameters

 

hnor: pointer to the NOR handle

 

Address: : Device address

Return values

 

HAL status

38.2.19HAL_NOR_Read_CFI

Function Name

HAL_StatusTypeDef HAL_NOR_Read_CFI

 

(NOR_HandleTypeDef * hnor, NOR_CFITypeDef * pNOR_CFI)

Function Description

Read NOR flash CFI IDs.

Parameters

 

hnor: pointer to the NOR handle

 

pNOR_CFI: : pointer to NOR CFI IDs structure

Return values

 

HAL status

38.2.20HAL_NOR_WriteOperation_Enable

Function Name

HAL_StatusTypeDef HAL_NOR_WriteOperation_Enable

 

(NOR_HandleTypeDef * hnor)

Function Description

Enables dynamically NOR write operation.

Parameters

 

hnor: pointer to the NOR handle

Return values

 

HAL status

490/900

 

DOCID025834 Rev 2

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