ATxmega192A3 TCD0 registers The 24 registers of TCD0 (16-bit Timer/Counter With PWM), from 0x900, with their reset value and every field. The ATxmega192A3 has 599 registers in 63 peripherals, one page each.
TCD0 16-bit Timer/Counter With PWM CTRLAControl Register A
Address 0x900
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 0x901
Reset 0x00
Access read/write 7 CCDEN 6 CCCEN 5 CCBEN 4 CCAEN 3 – 2 WGMODE2 1 WGMODE1 0 WGMODE0 5 fields
Field Bits What it does CCDEN 7 Compare or Capture D Enable CCCEN 6 Compare or Capture C Enable 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 0x902
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 CMPD 2 CMPC 1 CMPB 0 CMPA 4 fields
Field Bits What it does CMPD 3 Compare D Output Value CMPC 2 Compare C Output Value CMPB 1 Compare B Output Value CMPA 0 Compare A Output Value
CTRLDControl Register D
Address 0x903
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 0x904
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 0x906
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 0x907
Reset 0x00
Access read/write 7 CCDINTLVL1 6 CCDINTLVL0 5 CCCINTLVL1 4 CCCINTLVL0 3 CCBINTLVL1 2 CCBINTLVL0 1 CCAINTLVL1 0 CCAINTLVL0 4 fields
Field Bits What it does CCDINTLVL 7:6 Compare or Capture D Interrupt Level0 Interrupt Disabled1 Low Level2 Medium Level3 High Level CCCINTLVL 5:4 Compare or Capture C Interrupt Level0 Interrupt Disabled1 Low Level2 Medium Level3 High Level 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 0x908
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 0x909
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 0x90A
Reset 0x00
Access read/write 7 – 6 – 5 – 4 CCDBV 3 CCCBV 2 CCBBV 1 CCABV 0 PERBV 5 fields
Field Bits What it does CCDBV 4 Compare or Capture D Buffer Valid CCCBV 3 Compare or Capture C Buffer Valid 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 0x90B
Reset 0x00
Access read/write 7 – 6 – 5 – 4 CCDBV 3 CCCBV 2 CCBBV 1 CCABV 0 PERBV 5 fields
Field Bits What it does CCDBV 4 Compare or Capture D Buffer Valid CCCBV 3 Compare or Capture C Buffer Valid 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 0x90C
Reset 0x00
Access read/write 7 CCDIF 6 CCCIF 5 CCBIF 4 CCAIF 3 – 2 – 1 ERRIF 0 OVFIF 6 fields
Field Bits What it does CCDIF 7 Compare or Capture D Interrupt Flag CCCIF 6 Compare or Capture C Interrupt Flag 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 0x90F
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 – 0 – CNTCount
Address 0x920
Reset 0x0000
Access read/write
Size 16-bit PERPeriod
Address 0x926
Reset 0x0000
Access read/write
Size 16-bit CCACompare or Capture A
Address 0x928
Reset 0x0000
Access read/write
Size 16-bit CCBCompare or Capture B
Address 0x92A
Reset 0x0000
Access read/write
Size 16-bit CCCCompare or Capture C
Address 0x92C
Reset 0x0000
Access read/write
Size 16-bit CCDCompare or Capture D
Address 0x92E
Reset 0x0000
Access read/write
Size 16-bit PERBUFPeriod Buffer
Address 0x936
Reset 0x0000
Access read/write
Size 16-bit CCABUFCompare Or Capture A Buffer
Address 0x938
Reset 0x0000
Access read/write
Size 16-bit CCBBUFCompare Or Capture B Buffer
Address 0x93A
Reset 0x0000
Access read/write
Size 16-bit CCCBUFCompare Or Capture C Buffer
Address 0x93C
Reset 0x0000
Access read/write
Size 16-bit CCDBUFCompare Or Capture D Buffer
Address 0x93E
Reset 0x0000
Access read/write
Size 16-bit