29.5.1 SEFC Flash Mode Register

This register can only be written if the WPEN bit is cleared in EEFC_WPMR.

Name: EEFC_FMR
Offset: 0x00
Reset: 0x0C010F00
Property: Read/Write

Bit 3130292827262524 
     ALWAYS1CLOE   
Access R/WR/W 
Reset 11 
Bit 2322212019181716 
        SCOD 
Access R/W 
Reset 1 
Bit 15141312111098 
     FWS[3:0] 
Access R/WR/WR/WR/W 
Reset 1111 
Bit 76543210 
        FRDY 
Access R/W 
Reset 0 

Bit 27 – ALWAYS1 Always Written to One

This bit must be always written to 1.

Bit 26 – CLOE Code Loop Optimization Enable

No Flash read should be done during change of this field.

ValueDescription
0

The opcode loop optimization is disabled.

1

The opcode loop optimization is enabled if the bit SCOD is reset to 0.

Bit 16 – SCOD Sequential Code Optimization Disable

No Flash read should be done during change of this field.

ValueDescription
0

The sequential code optimization is enabled.

1

The sequential code optimization is disabled.

Bits 11:8 – FWS[3:0] Flash Wait State

This field defines the number of wait states for read and write operations:

FWS = Number of cycles for Read/Write operations - 1

Note: At hardware reset, this field is set to maximum value 15 to support any clock frequency in the available range.

Bit 0 – FRDY Flash Ready Interrupt Enable

ValueDescription
0

Flash ready (to accept a new command) does not generate an interrupt.

1

Flash ready (to accept a new command) generates an interrupt.