English
Language : 

SAM7S161_14 Datasheet, PDF (119/775 Pages) ATMEL Corporation – ARM-based Flash MCU
19.3.3 MC Flash Status Register
Register Name:
MC_FSR
Access Type:
Read-only
Offset: (EFC0)
0x68
Offset: (EFC1)
0x78
31
LOCKS15
30
LOCKS14
29
LOCKS13
28
LOCKS12
27
LOCKS11
26
LOCKS10
25
LOCKS9
24
LOCKS8
23
LOCKS7
22
LOCKS6
21
LOCKS5
20
LOCKS4
19
LOCKS3
18
LOCKS2
17
LOCKS1
16
LOCKS0
15
14
13
12
11
10
9
8
–
–
–
–
–
–
GPNVM1
GPNVM0
7
6
5
4
3
2
1
0
–
–
–
SECURITY
PROGE
LOCKE
–
FRDY
• FRDY: Flash Ready Status
0: The EFC is busy and the application must wait before running a new command.
1: The EFC is ready to run a new command.
• LOCKE: Lock Error Status
0: No programming of at least one locked lock region has happened since the last read of MC_FSR.
1: Programming of at least one locked lock region has happened since the last read of MC_FSR.
• PROGE: Programming Error Status
0: No invalid commands and no bad keywords were written in the Flash Command Register MC_FCR.
1: An invalid command and/or a bad keyword was/were written in the Flash Command Register MC_FCR.
• SECURITY: Security Bit Status (Does not apply to EFC1 on the SAM7S512.)
0: The security bit is inactive.
1: The security bit is active.
• GPNVMx: General-purpose NVM Bit Status (Does not apply to EFC1 on the SAM7S512.)
0: The corresponding general-purpose NVM bit is inactive.
1: The corresponding general-purpose NVM bit is active.
• EFC LOCKSx: Lock Region x Lock Status
0: The corresponding lock region is not locked.
1: The corresponding lock region is locked.
LOCKS 8-15 do not apply to SAM7S128/321/32/161/16.
SAM7S Series [DATASHEET]
6175M–ATARM–26-Oct-12
119