Go to the source code of this file.
Functions | |
| u16 | EraseAtmelFlashChip (void) |
| Erases the Atmel chip and waits for completion with its configured timing. | |
| u16 | EraseAtmelFlashSector (u16 sector) |
| Erases one small Atmel sector by programming every byte to 0xff. | |
| u16 | EraseAtmelFlashBlock (u16 sector) |
| Erases thirty-two small sectors, trying each sector at most twice. | |
| u16 | ProgramAtmelFlashSector (u32 sector, const u8 *source) |
| Programs a small Atmel sector with interrupts disabled, then polls its last byte. | |
| u16 | ProgramAtmelFlashBlock (u16 sector, u8 *source) |
| Programs an Atmel block in small sectors, trying each sector at most twice. | |
Variables | |
| FlashWaitProc | gFlash_Handler3 |
| u16 | gFlashNumRemainingBytes |
| u16 EraseAtmelFlashChip | ( | void | ) |
Erases the Atmel chip and waits for completion with its configured timing.
Definition at line 8 of file atmel.c.
Referenced by EraseAtmelFlashChip().
Erases one small Atmel sector by programming every byte to 0xff.
Definition at line 35 of file atmel.c.
Referenced by EraseAtmelFlashBlock(), and EraseAtmelFlashSector().
Erases thirty-two small sectors, trying each sector at most twice.
Definition at line 64 of file atmel.c.
Referenced by EraseAtmelFlashBlock().
Programs a small Atmel sector with interrupts disabled, then polls its last byte.
Definition at line 105 of file atmel.c.
Referenced by ProgramAtmelFlashBlock(), and ProgramAtmelFlashSector().
Programs an Atmel block in small sectors, trying each sector at most twice.
Definition at line 139 of file atmel.c.
Referenced by ProgramAtmelFlashBlock().
|
extern |
|
extern |
Referenced by ProgramAtmelFlashBlock(), ProgramFlashSector(), ProgramFlashSectorWithEraseRetry(), and STATIC_ASSERT().