iLLD_TC27xD
1.0
|
Functions | |
IFX_EXTERN void | IfxFlash_clearStatus (uint32 flash) |
Performs the "Clear Status" sequence. Operation and error flags are cleared. More... | |
IFX_EXTERN void | IfxFlash_disableWriteProtection (uint32 flash, IfxFlash_UcbType ucb, uint32 *password) |
The password protection of the selected UCB (if this UCB offers this feature) is temporarily disabled. The command fails by setting PROER when any of the supplied PWs does not match. In this case until the next application reset all further calls of "Disable Protection" fail with PROER independent of the supplied password. 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. Operation and error flags are cleared.
flash | selects the flash (PMU) module |
Definition at line 42 of file IfxFlash.c.
IFX_EXTERN void IfxFlash_disableWriteProtection | ( | uint32 | flash, |
IfxFlash_UcbType | ucb, | ||
uint32 * | password | ||
) |
The password protection of the selected UCB (if this UCB offers this feature) is temporarily disabled. The command fails by setting PROER when any of the supplied PWs does not match. In this case until the next application reset all further calls of "Disable Protection" fail with PROER independent of the supplied password.
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 70 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 86 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 106 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 122 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 138 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 154 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 170 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 186 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 262 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 272 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 284 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 293 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 325 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 341 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 357 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 381 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 397 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 413 of file IfxFlash.c.