ATxmega64A3 TCD1 registers The 20 registers of TCD1 (16-bit Timer/Counter With PWM), from 0x940, with their reset value and every field. The ATxmega64A3 has 599 registers in 63 peripherals, one page each.
TCD1 16-bit Timer/Counter With PWM CTRLAControl Register A
Address 0x940
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 CLKSEL3 2 CLKSEL2 1 CLKSEL1 0 CLKSEL0 1 field
Field Bits What it does CLKSEL 3:0 Clock Selection0 Timer Off1 System Clock2 System Clock / 23 System Clock / 44 System Clock / 85 System Clock / 646 System Clock / 2567 System Clock / 10248 Event Channel 09 Event Channel 110 Event Channel 211 Event Channel 312 Event Channel 413 Event Channel 514 Event Channel 615 Event Channel 7
CTRLBControl Register B
Address 0x941
Reset 0x00
Access read/write 7 – 6 – 5 CCBEN 4 CCAEN 3 – 2 WGMODE2 1 WGMODE1 0 WGMODE0 3 fields
Field Bits What it does CCBEN 5 Compare or Capture B Enable CCAEN 4 Compare or Capture A Enable WGMODE 2:0 Waveform generation mode0 Normal Mode1 Frequency Generation Mode3 Single Slope5 Dual Slope, Update on TOP6 Dual Slope, Update on TOP and BOTTOM7 Dual Slope, Update on BOTTOM
CTRLCControl register C
Address 0x942
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 CMPB 0 CMPA 2 fields
Field Bits What it does CMPB 1 Compare B Output Value CMPA 0 Compare A Output Value
CTRLDControl Register D
Address 0x943
Reset 0x00
Access read/write 7 EVACT2 6 EVACT1 5 EVACT0 4 EVDLY 3 EVSEL3 2 EVSEL2 1 EVSEL1 0 EVSEL0 3 fields
Field Bits What it does EVACT 7:5 Event Action0 No Event Action1 Input Capture2 Externally Controlled Up/Down Count3 Quadrature Decode4 Restart5 Frequency Capture6 Pulse-width Capture EVDLY 4 Event Delay EVSEL 3:0 Event Source Select0 No Event Source8 Event Channel 09 Event Channel 110 Event Channel 211 Event Channel 312 Event Channel 413 Event Channel 514 Event Channel 615 Event Channel 7
CTRLEControl Register E
Address 0x944
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 – 0 BYTEM 1 field
Field Bits What it does BYTEM 0 Byte Mode
INTCTRLAInterrupt Control Register A
Address 0x946
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 ERRINTLVL1 2 ERRINTLVL0 1 OVFINTLVL1 0 OVFINTLVL0 2 fields
Field Bits What it does ERRINTLVL 3:2 Error Interrupt Level0 Interrupt Disabled1 Low Level2 Medium Level3 High Level OVFINTLVL 1:0 Overflow interrupt level0 Interrupt Disabled1 Low Level2 Medium Level3 High Level
INTCTRLBInterrupt Control Register B
Address 0x947
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 CCBINTLVL1 2 CCBINTLVL0 1 CCAINTLVL1 0 CCAINTLVL0 2 fields
Field Bits What it does CCBINTLVL 3:2 Compare or Capture B Interrupt Level0 Interrupt Disabled1 Low Level2 Medium Level3 High Level CCAINTLVL 1:0 Compare or Capture A Interrupt Level0 Interrupt Disabled1 Low Level2 Medium Level3 High Level
CTRLFCLRControl Register F Clear
Address 0x948
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 CMD1 2 CMD0 1 LUPD 0 DIR 3 fields
Field Bits What it does CMD 3:2 Command LUPD 1 Lock Update DIR 0 Direction
CTRLFSETControl Register F Set
Address 0x949
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 CMD1 2 CMD0 1 LUPD 0 DIR 3 fields
Field Bits What it does CMD 3:2 Command0 No Command1 Force Update2 Force Restart3 Force Hard Reset LUPD 1 Lock Update DIR 0 Direction
CTRLGCLRControl Register G Clear
Address 0x94A
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 CCBBV 1 CCABV 0 PERBV 3 fields
Field Bits What it does CCBBV 2 Compare or Capture B Buffer Valid CCABV 1 Compare or Capture A Buffer Valid PERBV 0 Period Buffer Valid
CTRLGSETControl Register G Set
Address 0x94B
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 CCBBV 1 CCABV 0 PERBV 3 fields
Field Bits What it does CCBBV 2 Compare or Capture B Buffer Valid CCABV 1 Compare or Capture A Buffer Valid PERBV 0 Period Buffer Valid
INTFLAGSInterrupt Flag Register
Address 0x94C
Reset 0x00
Access read/write 7 – 6 – 5 CCBIF 4 CCAIF 3 – 2 – 1 ERRIF 0 OVFIF 4 fields
Field Bits What it does CCBIF 5 Compare or Capture B Interrupt Flag CCAIF 4 Compare or Capture A Interrupt Flag ERRIF 1 Error Interrupt Flag OVFIF 0 Overflow Interrupt Flag
TEMPTemporary Register For 16-bit Access
Address 0x94F
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 – 0 – CNTCount
Address 0x960
Reset 0x0000
Access read/write
Size 16-bit PERPeriod
Address 0x966
Reset 0x0000
Access read/write
Size 16-bit CCACompare or Capture A
Address 0x968
Reset 0x0000
Access read/write
Size 16-bit CCBCompare or Capture B
Address 0x96A
Reset 0x0000
Access read/write
Size 16-bit PERBUFPeriod Buffer
Address 0x976
Reset 0x0000
Access read/write
Size 16-bit CCABUFCompare Or Capture A Buffer
Address 0x978
Reset 0x0000
Access read/write
Size 16-bit CCBBUFCompare Or Capture B Buffer
Address 0x97A
Reset 0x0000
Access read/write
Size 16-bit