28.6.1 Control A

Table 28-4. 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: CTRLA
Offset: 0x0000
Reset: 0x00
Property: PAC Write-Protection

Bit 76543210 
      IORET   
Access R/W 
Reset 0 

Bit 2 – IORET I/O Retention

When entering Hibernate or Backup mode, I/O ports are powered off but the pin configurations are retained. When the device exits either mode, pin configurations are either released or stretched, based on this bit:

ValueDescription
0x0When the device exits the Hibernate or Backup mode, pin configurations are released and driven to the current values defined pin’s PORT registers.
0x1When the device exits the Hibernate or Backup mode, pin configurations are retained until the IORET bit is cleared. This allows the pins to retain their states until the application has programmed new PORT values and then clears IORET.