Adapted from AVR109.
Definition in file flash.h.
Go to the source code of this file.
Defines | |
| #define | _ENABLE_RWW_SECTION() __DataToR0ByteToSPMCR_SPM( 0x00, 0x11 ) |
| #define | _FILL_TEMP_WORD(addr, data) __AddrToZWordToR1R0ByteToSPMCR_SPM( (void __flash *) (addr), data, 0x01 ) |
| #define | _PAGE_ERASE(addr) __AddrToZByteToSPMCR_SPM( (void __flash *) (addr), 0x03 ) |
| #define | _PAGE_WRITE(addr) __AddrToZByteToSPMCR_SPM( (void __flash *) (addr), 0x05 ) |
| #define | _WAIT_FOR_SPM() while( SPMCSR & (1<<SPMEN) ); |
| #define _ENABLE_RWW_SECTION | ( | ) | __DataToR0ByteToSPMCR_SPM( 0x00, 0x11 ) |
| #define _FILL_TEMP_WORD | ( | addr, | |||
| data | ) | __AddrToZWordToR1R0ByteToSPMCR_SPM( (void __flash *) (addr), data, 0x01 ) |
| #define _PAGE_ERASE | ( | addr | ) | __AddrToZByteToSPMCR_SPM( (void __flash *) (addr), 0x03 ) |
| #define _PAGE_WRITE | ( | addr | ) | __AddrToZByteToSPMCR_SPM( (void __flash *) (addr), 0x05 ) |
| #define _WAIT_FOR_SPM | ( | ) | while( SPMCSR & (1<<SPMEN) ); |
1.5.3