ATxmega192C3 TCC1 registers

The 20 registers of TCC1 (16-bit Timer/Counter With PWM), from 0x840, with their reset value and every field. The ATxmega192C3 has 550 registers in 51 peripherals, one page each.

TCC1 16-bit Timer/Counter With PWM

CTRLAControl Register A

Address
0x840
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3CLKSEL3
  6. 2CLKSEL2
  7. 1CLKSEL1
  8. 0CLKSEL0
1 field
FieldBitsWhat it does
CLKSEL3:0Clock Selection
  • 0 Timer Off
  • 1 System Clock
  • 2 System Clock / 2
  • 3 System Clock / 4
  • 4 System Clock / 8
  • 5 System Clock / 64
  • 6 System Clock / 256
  • 7 System Clock / 1024
  • 8 Event Channel 0
  • 9 Event Channel 1
  • 10 Event Channel 2
  • 11 Event Channel 3

CTRLBControl Register B

Address
0x841
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5CCBEN
  4. 4CCAEN
  5. 3–
  6. 2WGMODE2
  7. 1WGMODE1
  8. 0WGMODE0
3 fields
FieldBitsWhat it does
CCBEN5Compare or Capture B Enable
CCAEN4Compare or Capture A Enable
WGMODE2:0Waveform generation mode
  • 0 Normal Mode
  • 1 Frequency Generation Mode
  • 3 Single Slope
  • 3 Single Slope
  • 5 Dual Slope, Update on TOP
  • 5 Dual Slope, Update on TOP
  • 6 Dual Slope, Update on both TOP and BOTTOM
  • 6 Dual Slope, Update on both TOP and BOTTOM
  • 7 Dual Slope, Update on BOTTOM
  • 7 Dual Slope, Update on BOTTOM

CTRLCControl register C

Address
0x842
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1CMPB
  8. 0CMPA
2 fields
FieldBitsWhat it does
CMPB1Compare B Output Value
CMPA0Compare A Output Value

CTRLDControl Register D

Address
0x843
Reset
0x00
Access
read/write
  1. 7EVACT2
  2. 6EVACT1
  3. 5EVACT0
  4. 4EVDLY
  5. 3EVSEL3
  6. 2EVSEL2
  7. 1EVSEL1
  8. 0EVSEL0
3 fields
FieldBitsWhat it does
EVACT7:5Event Action
  • 0 No Event Action
  • 1 Input Capture
  • 2 Externally Controlled Up/Down Count
  • 3 Quadrature Decode
  • 4 Restart
  • 5 Frequency Capture
  • 6 Pulse-width Capture
EVDLY4Event Delay
EVSEL3:0Event Source Select
  • 0 No Event Source
  • 8 Event Channel 0
  • 9 Event Channel 1
  • 10 Event Channel 2
  • 11 Event Channel 3

CTRLEControl Register E

Address
0x844
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0BYTEM
1 field
FieldBitsWhat it does
BYTEM0Byte Mode

INTCTRLAInterrupt Control Register A

Address
0x846
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3ERRINTLVL1
  6. 2ERRINTLVL0
  7. 1OVFINTLVL1
  8. 0OVFINTLVL0
2 fields
FieldBitsWhat it does
ERRINTLVL3:2Error Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level
OVFINTLVL1:0Overflow interrupt level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level

INTCTRLBInterrupt Control Register B

Address
0x847
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3CCBINTLVL1
  6. 2CCBINTLVL0
  7. 1CCAINTLVL1
  8. 0CCAINTLVL0
2 fields
FieldBitsWhat it does
CCBINTLVL3:2Compare or Capture B Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level
CCAINTLVL1:0Compare or Capture A Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level

CTRLFCLRControl Register F Clear

Address
0x848
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3CMD1
  6. 2CMD0
  7. 1LUPD
  8. 0DIR
3 fields
FieldBitsWhat it does
CMD3:2Command
LUPD1Lock Update
DIR0Direction

CTRLFSETControl Register F Set

Address
0x849
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3CMD1
  6. 2CMD0
  7. 1LUPD
  8. 0DIR
3 fields
FieldBitsWhat it does
CMD3:2Command
  • 0 No Command
  • 1 Force Update
  • 2 Force Restart
  • 3 Force Hard Reset
LUPD1Lock Update
DIR0Direction

CTRLGCLRControl Register G Clear

Address
0x84A
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2CCBBV
  7. 1CCABV
  8. 0PERBV
3 fields
FieldBitsWhat it does
CCBBV2Compare or Capture B Buffer Valid
CCABV1Compare or Capture A Buffer Valid
PERBV0Period Buffer Valid

CTRLGSETControl Register G Set

Address
0x84B
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2CCBBV
  7. 1CCABV
  8. 0PERBV
3 fields
FieldBitsWhat it does
CCBBV2Compare or Capture B Buffer Valid
CCABV1Compare or Capture A Buffer Valid
PERBV0Period Buffer Valid

INTFLAGSInterrupt Flag Register

Address
0x84C
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5CCBIF
  4. 4CCAIF
  5. 3–
  6. 2–
  7. 1ERRIF
  8. 0OVFIF
4 fields
FieldBitsWhat it does
CCBIF5Compare or Capture B Interrupt Flag
CCAIF4Compare or Capture A Interrupt Flag
ERRIF1Error Interrupt Flag
OVFIF0Overflow Interrupt Flag

TEMPTemporary Register For 16-bit Access

Address
0x84F
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

CNTCount

Address
0x860
Reset
0x0000
Access
read/write
Size
16-bit

PERPeriod

Address
0x866
Reset
0x0000
Access
read/write
Size
16-bit

CCACompare or Capture A

Address
0x868
Reset
0x0000
Access
read/write
Size
16-bit

CCBCompare or Capture B

Address
0x86A
Reset
0x0000
Access
read/write
Size
16-bit

PERBUFPeriod Buffer

Address
0x876
Reset
0x0000
Access
read/write
Size
16-bit

CCABUFCompare Or Capture A Buffer

Address
0x878
Reset
0x0000
Access
read/write
Size
16-bit

CCBBUFCompare Or Capture B Buffer

Address
0x87A
Reset
0x0000
Access
read/write
Size
16-bit