flash_get_total_pages

Get the number of flash page.

uint32_t flash_get_total_pages(
    struct flash_descriptor * flash
)

Parameters

flash

Type: struct flash_descriptor Struct *

Pointer to the HAL FLASH instance.

Returns

Type: uint32_t

The flash total page numbers