| Offset | Field | Description |
|---|---|---|
| 0x0 | EFC_FMR (MC_FMR) | MC Flash Mode Register |
| 0x4 | EFC_FCR (MC_FCR) | MC Flash Command Register |
| 0x8 | EFC_FSR (MC_FSR) | MC Flash Status Register |
| 0xC | EFC_VR | MC Flash Version Register |
| Offset | Name | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | MC_FRDY AT91C_MC_FRDY | Flash Ready 0 = FRDY high in MC_FSR does not generate an interrupt 1= FRDY high in MC_FSR generates an interrupt | |||||||||||||||
| 2 | MC_LOCKE AT91C_MC_LOCKE | Lock Error 0 = LOCKE high in MC_FSR does not generate an interrupt 1 = LOCKE high in MC_FSR generates an interrupt | |||||||||||||||
| 3 | MC_PROGE AT91C_MC_PROGE | Programming Error 0 = PROGE high in MC_FSR does not generate an interrupt 1 = PROGE high in MC_FSR generates an interrupt | |||||||||||||||
| 7 | MC_NEBP AT91C_MC_NEBP | No Erase Before Programming 0: A page erase is performed before programming. 1: No erase is performed before programming. | |||||||||||||||
| 9..8 | MC_FWS AT91C_MC_FWS | Flash Wait State This field defines the number of wait states for read and write operations.
| |||||||||||||||
| 23..16 | MC_FMCN AT91C_MC_FMCN | Flash Microsecond Cycle Number This field defines the number of Master Clock cycles in one microsecond. The value 0 corresponds to the timings for a 33.3 kHz clock. |
| Offset | Name | Description | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 3..0 | MC_FCMD AT91C_MC_FCMD | Flash Command This field defines the different flash commands.
| |||||||||||||||||||||||||||
| 17..8 | MC_PAGEN AT91C_MC_PAGEN | Page Number This field defines the page/sector currently in use, whatever it is for programming, locking or unlocking. | |||||||||||||||||||||||||||
| 31..24 | MC_KEY AT91C_MC_KEY | Writing Protect Key This field should be written with the value 0x5A to enable the command defined by the bits of the register. If the field is written with a different value, the write is actually not performed and no action is started. |
| Offset | Name | Description |
|---|---|---|
| 0 | MC_FRDY AT91C_MC_FRDY | Flash Ready 0 = FRDY high in MC_FSR does not generate an interrupt 1= FRDY high in MC_FSR generates an interrupt |
| 2 | MC_LOCKE AT91C_MC_LOCKE | Lock Error 0 = LOCKE high in MC_FSR does not generate an interrupt 1 = LOCKE high in MC_FSR generates an interrupt |
| 3 | MC_PROGE AT91C_MC_PROGE | Programming Error 0 = PROGE high in MC_FSR does not generate an interrupt 1 = PROGE high in MC_FSR generates an interrupt |
| 4 | MC_SECURITY AT91C_MC_SECURITY | Security Bit Status 0: Security Bit is not set. 1:Security Bit is set. |
| 8 | MC_GPNVM0 AT91C_MC_GPNVM0 | Sector 0 Lock Status 0: General purpose NVM bit is not set. 1:General purpose NVM bit is set. |
| 9 | MC_GPNVM1 AT91C_MC_GPNVM1 | Sector 1 Lock Status 0: General purpose NVM bit is not set. 1:General purpose NVM bit is set. |
| 10 | MC_GPNVM2 AT91C_MC_GPNVM2 | Sector 2 Lock Status 0: General purpose NVM bit is not set. 1:General purpose NVM bit is set. |
| 11 | MC_GPNVM3 AT91C_MC_GPNVM3 | Sector 3 Lock Status 0: General purpose NVM bit is not set. 1:General purpose NVM bit is set. |
| 12 | MC_GPNVM4 AT91C_MC_GPNVM4 | Sector 4 Lock Status 0: General purpose NVM bit is not set. 1:General purpose NVM bit is set. |
| 13 | MC_GPNVM5 AT91C_MC_GPNVM5 | Sector 5 Lock Status 0: General purpose NVM bit is not set. 1:General purpose NVM bit is set. |
| 14 | MC_GPNVM6 AT91C_MC_GPNVM6 | Sector 6 Lock Status 0: General purpose NVM bit is not set. 1:General purpose NVM bit is set. |
| 15 | MC_GPNVM7 AT91C_MC_GPNVM7 | Sector 7 Lock Status 0: General purpose NVM bit is not set. 1:General purpose NVM bit is set. |
| 16 | MC_LOCKS0 AT91C_MC_LOCKS0 | Sector 0 Lock Status 0: The corresponding sector is not locked. 1:The corresponding sector is locked. |
| 17 | MC_LOCKS1 AT91C_MC_LOCKS1 | Sector 1 Lock Status 0: The corresponding sector is not locked. 1:The corresponding sector is locked. |
| 18 | MC_LOCKS2 AT91C_MC_LOCKS2 | Sector 2 Lock Status 0: The corresponding sector is not locked. 1:The corresponding sector is locked. |
| 19 | MC_LOCKS3 AT91C_MC_LOCKS3 | Sector 3 Lock Status 0: The corresponding sector is not locked. 1:The corresponding sector is locked. |
| 20 | MC_LOCKS4 AT91C_MC_LOCKS4 | Sector 4 Lock Status 0: The corresponding sector is not locked. 1:The corresponding sector is locked. |
| 21 | MC_LOCKS5 AT91C_MC_LOCKS5 | Sector 5 Lock Status 0: The corresponding sector is not locked. 1:The corresponding sector is locked. |
| 22 | MC_LOCKS6 AT91C_MC_LOCKS6 | Sector 6 Lock Status 0: The corresponding sector is not locked. 1:The corresponding sector is locked. |
| 23 | MC_LOCKS7 AT91C_MC_LOCKS7 | Sector 7 Lock Status 0: The corresponding sector is not locked. 1:The corresponding sector is locked. |
| 24 | MC_LOCKS8 AT91C_MC_LOCKS8 | Sector 8 Lock Status 0: The corresponding sector is not locked. 1:The corresponding sector is locked. |
| 25 | MC_LOCKS9 AT91C_MC_LOCKS9 | Sector 9 Lock Status 0: The corresponding sector is not locked. 1:The corresponding sector is locked. |
| 26 | MC_LOCKS10 AT91C_MC_LOCKS10 | Sector 10 Lock Status 0: The corresponding sector is not locked. 1:The corresponding sector is locked. |
| 27 | MC_LOCKS11 AT91C_MC_LOCKS11 | Sector 11 Lock Status 0: The corresponding sector is not locked. 1:The corresponding sector is locked. |
| 28 | MC_LOCKS12 AT91C_MC_LOCKS12 | Sector 12 Lock Status 0: The corresponding sector is not locked. 1:The corresponding sector is locked. |
| 29 | MC_LOCKS13 AT91C_MC_LOCKS13 | Sector 13 Lock Status 0: The corresponding sector is not locked. 1:The corresponding sector is locked. |
| 30 | MC_LOCKS14 AT91C_MC_LOCKS14 | Sector 14 Lock Status 0: The corresponding sector is not locked. 1:The corresponding sector is locked. |
| 31 | MC_LOCKS15 AT91C_MC_LOCKS15 | Sector 15 Lock Status 0: The corresponding sector is not locked. 1:The corresponding sector is locked. |
| Offset | Name | Description |
|---|---|---|
| 11..0 | EFC_VERSION AT91C_EFC_VERSION | EFC version number EFC version number.Value subject to change. No functionality assiciated. This is the Atmel internal version of the macrocell |
| 18..16 | EFC_MFN AT91C_EFC_MFN | EFC MFN EFC MFN Value subject to change. No functionality assiciated |