31.6.2 CTRL B REGISTER

Table 31-33. Register Bit Attribute Legend
SymbolDescriptionSymbolDescriptionSymbolDescription
RReadable bitHCCleared by Hardware(Grey cell)Unimplemented
WWritable bitHSSet by HardwareXBit is unknown at Reset
KWrite to clearSSoftware settable bit
Name: CTRLB
Offset: 0x4
Reset: 0x00000000
Property: R/W

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
       PREFDISCHEDIS 
Access R/WR/W 
Reset 00 
Bit 15141312111098 
       SLP[1:0] 
Access R/WR/W 
Reset 00 
Bit 76543210 
 CHEINV     TEMPPRM 
Access R/S/HCR/S/HCR/S/HC 
Reset 000 

Bit 17 – PREFDIS When CTRLB.CHEDIS==0: When CTRLB.CHEDIS==1: Predictive Prefetch is always disabled and this field is ignored.

When CTRLB.CHEDIS=0:

1 (DISABLE) = Predictive Prefetch Disabled

0 (ENABLE) = Predictive Prefetch Enabled

When CTRLB.CHEDIS=1:

Predictive Prefetch is always disabled and this field is ignored.

ValueNameDescription
1DISABLEPredictive Prefetch Disabled
0ENABLEPredictive Prefetch Enabled

Bit 16 – CHEDIS Cache Disable

ValueNameDescription
1DISABLECache Disabled; Interface uses RDBUFWS selection.
0ENABLECache Enabled; Accesses to flash use AUTOWS/FSW selection.

Bits 9:8 – SLP[1:0] Note: The status of power reduction is reflected in STATUS.PRM.

Note: The status of power reduction is reflected in STATUS.PRM.
ValueNameDescription
3AUTOSLOWEnter Flash Hibernate on entry to Standby w/ wakeup on first access
2AUTOFASTEnter Flash Hibernate on entry to Standby w/ wakeup to Auto Standby
1RSVD01RSVD
0MANUALMaintain state of STATUS.PRM on entry to Standby

Bit 7 – CHEINV Cache InvalidateCache invalidation takes 1 clock cycle, but may be delayed by an active read.

Cache invalidation takes 1 clock cycle, but may be delayed by an active read.
ValueNameDescription
1INVInvalidate Cache
0NONENo Action

Bit 1 – TEMP When written to 1, this bit remains a 1 until STATUS.TEMP toggles. Then it returns to 0. Note: When changing TEMP, software must adjust CTRLA.FWS appropriately or have CTRLA.AUTOWS==1. Note: The status of Operating Temp Read Mode is reflected in STATUS.TEMP.

ValueNameDescription
1TOGGLEToggle the Operating Temperature Read Mode
0NONENo Action

Bit 0 – PRM When written to 1, this bit remains a 1 until STATUS.PRM toggles. Then it returns to 0. Note: The status of power reduction is reflected in STATUS.PRM.

When written to 1, this bit remains a 1 until STATUS.PRM toggles. Then it is cleared by hardware. Writing a 0 has no effect.

Note: The status of power reduction is reflected in STATUS.PRM.
ValueNameDescription
1TOGGLEToggle the Flash Power Mode
0NONENo Action