iLLD_TC27xC
1.0
|
![]() |
Functions | |
IFX_EXTERN void | IfxFlash_clearStatus (uint32 flash) |
Performs the "Clear Status" sequence. More... | |
IFX_EXTERN void | IfxFlash_disableWriteProtection (uint32 flash, IfxFlash_UcbType ucb, uint32 *password) |
Performs the "Erase Verify" sequence. More... | |
IFX_EXTERN uint8 | IfxFlash_enterPageMode (uint32 pageAddr) |
Performs the sequence for entering program page mode. More... | |
IFX_EXTERN void | IfxFlash_eraseMultiplePhysicalSectors (uint32 sectorAddr, uint32 numSector) |
Performs the erase sequence for n sectors in program or data flash. More... | |
IFX_EXTERN void | IfxFlash_eraseMultipleSectors (uint32 sectorAddr, uint32 numSector) |
Performs the erase sequence for n sectors in program or data flash. More... | |
IFX_EXTERN void | IfxFlash_erasePhysicalSector (uint32 sectorAddr) |
Performs the erase sequence for a physical sector in program or data flash. More... | |
IFX_EXTERN void | IfxFlash_eraseSector (uint32 sectorAddr) |
Performs the erase sequence for a sector in program or data flash. More... | |
IFX_EXTERN void | IfxFlash_eraseVerifyMultipleSectors (uint32 sectorAddr, uint32 numSector) |
Performs the "Erase Verify" sequence for multiple sectors. More... | |
IFX_EXTERN void | IfxFlash_eraseVerifySector (uint32 sectorAddr) |
Performs the "Erase Verify" sequence. More... | |
IFX_EXTERN void | IfxFlash_loadPage (uint32 pageAddr, uint32 wordL, uint32 wordU) |
performs a load page sequence with a single 64bit access More... | |
IFX_EXTERN void | IfxFlash_loadPage2X32 (uint32 pageAddr, uint32 wordL, uint32 wordU) |
performs a load page sequence with two 32bit accesses More... | |
IFX_EXTERN void | IfxFlash_resetToRead (uint32 flash) |
reset to read mode More... | |
IFX_EXTERN void | IfxFlash_resumeProtection (uint32 flash) |
Performs the "Resume Protection" sequence. More... | |
IFX_EXTERN void | IfxFlash_suspendResumeMultipleSectors (uint32 sectorAddr, uint32 numSector) |
Performs the "Suspend Resume" sequence for multiple sectors. More... | |
IFX_EXTERN void | IfxFlash_suspendResumeSector (uint32 sectorAddr) |
Performs the "Suspend Resume" sequence. More... | |
IFX_EXTERN uint8 | IfxFlash_waitUnbusy (uint32 flash, IfxFlash_FlashType flashType) |
Polls the selected status flag in flash status register until it turns to 0. More... | |
IFX_EXTERN void | IfxFlash_writeBurst (uint32 pageAddr) |
Performs the "Write Burst" sequence, similar to write page but performs a burst transfer instead of page.Make sure the appropriate amount of data is loaded using load page command. More... | |
IFX_EXTERN void | IfxFlash_writePage (uint32 pageAddr) |
Performs the "Write Page" sequence. More... | |
IFX_EXTERN void | IfxFlash_writePageOnce (uint32 pageAddr) |
Performs the "Write Page Once" sequence, similar to write page but performs a program verify after writing. More... | |
IFX_EXTERN void IfxFlash_clearStatus | ( | uint32 | flash) |
Performs the "Clear Status" sequence.
flash | selects the flash (PMU) module |
Definition at line 43 of file IfxFlash.c.
IFX_EXTERN void IfxFlash_disableWriteProtection | ( | uint32 | flash, |
IfxFlash_UcbType | ucb, | ||
uint32 * | password | ||
) |
Performs the "Erase Verify" sequence.
flash | selects the flash (PMU) module |
ucb | selects the user configuration block (0 for UCB0, 1 for UCB1, 5 for UCB_HSMC) |
password | password pointer to an array of 8 words |
Definition at line 69 of file IfxFlash.c.
IFX_EXTERN uint8 IfxFlash_enterPageMode | ( | uint32 | pageAddr) |
Performs the sequence for entering program page mode.
pageAddr | pageAddr specifies the page being written - the command sequence will be varied accordingly |
Usage Example:
Definition at line 83 of file IfxFlash.c.
IFX_EXTERN void IfxFlash_eraseMultiplePhysicalSectors | ( | uint32 | sectorAddr, |
uint32 | numSector | ||
) |
Performs the erase sequence for n sectors in program or data flash.
sectorAddr | sector address |
numSector | the no.of sectors to be erased |
Usage Example:
Definition at line 102 of file IfxFlash.c.
IFX_EXTERN void IfxFlash_eraseMultipleSectors | ( | uint32 | sectorAddr, |
uint32 | numSector | ||
) |
Performs the erase sequence for n sectors in program or data flash.
sectorAddr | sector address |
numSector | the no.of sectors to be erased |
Usage Example:
Definition at line 116 of file IfxFlash.c.
IFX_EXTERN void IfxFlash_erasePhysicalSector | ( | uint32 | sectorAddr) |
Performs the erase sequence for a physical sector in program or data flash.
sectorAddr | sector address |
Usage Example:
Definition at line 130 of file IfxFlash.c.
IFX_EXTERN void IfxFlash_eraseSector | ( | uint32 | sectorAddr) |
Performs the erase sequence for a sector in program or data flash.
sectorAddr | sector address |
Usage Example:
Definition at line 144 of file IfxFlash.c.
IFX_EXTERN void IfxFlash_eraseVerifyMultipleSectors | ( | uint32 | sectorAddr, |
uint32 | numSector | ||
) |
Performs the "Erase Verify" sequence for multiple sectors.
sectorAddr | sector address which should be verified |
numSector | no.of sectors to be operated on |
Definition at line 158 of file IfxFlash.c.
IFX_EXTERN void IfxFlash_eraseVerifySector | ( | uint32 | sectorAddr) |
Performs the "Erase Verify" sequence.
sectorAddr | sector address which should be verified |
Definition at line 172 of file IfxFlash.c.
IFX_EXTERN void IfxFlash_loadPage | ( | uint32 | pageAddr, |
uint32 | wordL, | ||
uint32 | wordU | ||
) |
performs a load page sequence with a single 64bit access
pageAddr | pageAddr start address of page which should be programmed |
wordL | Lower Address word |
wordU | Upper address word |
Usage Example:
Definition at line 246 of file IfxFlash.c.
IFX_EXTERN void IfxFlash_loadPage2X32 | ( | uint32 | pageAddr, |
uint32 | wordL, | ||
uint32 | wordU | ||
) |
performs a load page sequence with two 32bit accesses
pageAddr | pageAddr start address of page which should be programmed |
wordL | Lower Address word |
wordU | Upper Address word |
Usage Example:
Definition at line 254 of file IfxFlash.c.
IFX_EXTERN void IfxFlash_resetToRead | ( | uint32 | flash) |
reset to read mode
flash | flash selects the flash (PMU) module |
Usage Example:
Definition at line 264 of file IfxFlash.c.
IFX_EXTERN void IfxFlash_resumeProtection | ( | uint32 | flash) |
Performs the "Resume Protection" sequence.
flash | selects the flash (PMU) module |
Definition at line 271 of file IfxFlash.c.
IFX_EXTERN void IfxFlash_suspendResumeMultipleSectors | ( | uint32 | sectorAddr, |
uint32 | numSector | ||
) |
Performs the "Suspend Resume" sequence for multiple sectors.
sectorAddr | sector address |
numSector | the no.of sectors to be operated on |
Definition at line 301 of file IfxFlash.c.
IFX_EXTERN void IfxFlash_suspendResumeSector | ( | uint32 | sectorAddr) |
Performs the "Suspend Resume" sequence.
sectorAddr | sector address which should be resumed |
Definition at line 315 of file IfxFlash.c.
IFX_EXTERN uint8 IfxFlash_waitUnbusy | ( | uint32 | flash, |
IfxFlash_FlashType | flashType | ||
) |
Polls the selected status flag in flash status register until it turns to 0.
flash | selects the flash (PMU) module |
flashType | selects the flash type |
Usage Example:
Definition at line 329 of file IfxFlash.c.
IFX_EXTERN void IfxFlash_writeBurst | ( | uint32 | pageAddr) |
Performs the "Write Burst" sequence, similar to write page but performs a burst transfer instead of page.Make sure the appropriate amount of data is loaded using load page command.
pageAddr | start address of page which should be programmed |
Usage Example:
Definition at line 353 of file IfxFlash.c.
IFX_EXTERN void IfxFlash_writePage | ( | uint32 | pageAddr) |
Performs the "Write Page" sequence.
pageAddr | start address of page which should be programmed |
Usage Example:
Definition at line 367 of file IfxFlash.c.
IFX_EXTERN void IfxFlash_writePageOnce | ( | uint32 | pageAddr) |
Performs the "Write Page Once" sequence, similar to write page but performs a program verify after writing.
pageAddr | start address of page which should be programmed |
Usage Example:
Definition at line 381 of file IfxFlash.c.