AVR64DD32 RTC registers The 16 registers of RTC (Real-Time Counter), from 0x140, with their reset value and every field. The AVR64DD32 has 440 registers in 42 peripherals, one page each.
RTC Real-Time Counter CTRLAControl A
Address 0x140
Reset 0x00
Access read/write 7 RUNSTDBY 6 PRESCALER3 5 PRESCALER2 4 PRESCALER1 3 PRESCALER0 2 CORREN 1 – 0 RTCEN 4 fields
Field Bits What it does RUNSTDBY 7 Run In Standby PRESCALER 6:3 Prescaling Factor0 RTC Clock / 11 RTC Clock / 22 RTC Clock / 43 RTC Clock / 84 RTC Clock / 165 RTC Clock / 326 RTC Clock / 647 RTC Clock / 1288 RTC Clock / 2569 RTC Clock / 51210 RTC Clock / 102411 RTC Clock / 204812 RTC Clock / 409613 RTC Clock / 819214 RTC Clock / 1638415 RTC Clock / 32768 CORREN 2 Correction enable RTCEN 0 Enable
STATUSStatus
Address 0x141
Reset 0x00
Access read only 7 – 6 – 5 – 4 – 3 CMPBUSY 2 PERBUSY 1 CNTBUSY 0 CTRLABUSY 4 fields
Field Bits What it does CMPBUSY 3 Comparator Synchronization Busy Flag PERBUSY 2 Period Synchronization Busy Flag CNTBUSY 1 Count Synchronization Busy Flag CTRLABUSY 0 CTRLA Synchronization Busy Flag
INTCTRLInterrupt Control
Address 0x142
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 CMP 0 OVF 2 fields
Field Bits What it does CMP 1 Compare Match Interrupt enable OVF 0 Overflow Interrupt enable
INTFLAGSInterrupt Flags
Address 0x143
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 CMP 0 OVF 2 fields
Field Bits What it does CMP 1 Compare Match Interrupt OVF 0 Overflow Interrupt Flag
TEMPTemporary
Address 0x144
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 – 0 – DBGCTRLDebug control
Address 0x145
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 – 0 DBGRUN 1 field
Field Bits What it does DBGRUN 0 Run in debug
CALIBCalibration
Address 0x146
Reset 0x00
Access read/write 7 SIGN 6 ERROR6 5 ERROR5 4 ERROR4 3 ERROR3 2 ERROR2 1 ERROR1 0 ERROR0 2 fields
Field Bits What it does SIGN 7 Error Correction Sign Bit ERROR 6:0 Error Correction Value
CLKSELClock Select
Address 0x147
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 CLKSEL1 0 CLKSEL0 1 field
Field Bits What it does CLKSEL 1:0 Clock Select0 32.768 kHz from OSC32K1 1.024 kHz from OSC32K2 32.768 kHz from XOSC32K3 External Clock
CNTCounter
Address 0x148
Reset 0x0000
Access read/write
Size 16-bit PERPeriod
Address 0x14A
Reset 0xFFFF
Access read/write
Size 16-bit CMPCompare
Address 0x14C
Reset 0x0000
Access read/write
Size 16-bit PITCTRLAPIT Control A
Address 0x150
Reset 0x00
Access read/write 7 – 6 PERIOD3 5 PERIOD2 4 PERIOD1 3 PERIOD0 2 – 1 – 0 PITEN 2 fields
Field Bits What it does PERIOD 6:3 Period0 Off1 RTC Clock Cycles 42 RTC Clock Cycles 83 RTC Clock Cycles 164 RTC Clock Cycles 325 RTC Clock Cycles 646 RTC Clock Cycles 1287 RTC Clock Cycles 2568 RTC Clock Cycles 5129 RTC Clock Cycles 102410 RTC Clock Cycles 204811 RTC Clock Cycles 409612 RTC Clock Cycles 819213 RTC Clock Cycles 1638414 RTC Clock Cycles 32768 PITEN 0 Enable
PITSTATUSPIT Status
Address 0x151
Reset 0x00
Access read only 7 – 6 – 5 – 4 – 3 – 2 – 1 – 0 CTRLBUSY 1 field
Field Bits What it does CTRLBUSY 0 CTRLA Synchronization Busy Flag
PITINTCTRLPIT Interrupt Control
Address 0x152
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 – 0 PI 1 field
Field Bits What it does PI 0 Periodic Interrupt
PITINTFLAGSPIT Interrupt Flags
Address 0x153
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 – 0 PI 1 field
Field Bits What it does PI 0 Periodic Interrupt
PITDBGCTRLPIT Debug control
Address 0x155
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 – 0 DBGRUN 1 field
Field Bits What it does DBGRUN 0 Run in debug