FLASH_If_GetSectorNumber() is only used within FWupgrade_Standalone.
 
Symbols
loading...
Files
loading...

FLASH_If_GetSectorNumber() function

Returns the Flash sector Number of the address

Syntax

static uint32_t FLASH_If_GetSectorNumber(uint32_t Address);
Implemented in flash_if.c:138

Arguments

Address

Return value

The Flash sector Number of the address

References

LocationReferrerText
flash_if.c:138
static uint32_t FLASH_If_GetSectorNumber(uint32_t Address)
flash_if.c:32
static uint32_t FLASH_If_GetSectorNumber(uint32_t Address);
flash_if.c:87FLASH_If_EraseSectors()
FirstSector = FLASH_If_GetSectorNumber(Address);
flash_if.c:89FLASH_If_EraseSectors()
NbOfSectors = FLASH_If_GetSectorNumber(USER_FLASH_LAST_PAGE_ADDRESS) - FirstSector + 1;

Call Tree

Functions calling FLASH_If_GetSectorNumber()
all items filtered out
FLASH_If_GetSectorNumber()
Data read by FLASH_If_GetSectorNumber()
Data written by FLASH_If_GetSectorNumber()
FLASH_If_GetSectorNumber()::sector
all items filtered out
FLASH_If_GetSectorNumber()
FLASH_If_GetSectorNumber()::sector
all items filtered out
Type of FLASH_If_GetSectorNumber()
FLASH_If_GetSectorNumber()
uint32_t
all items filtered out