ATxmega192A3U TCE1 registers The 20 registers of TCE1 (16-bit Timer/Counter With PWM), from 0xA40, with their reset value and every field. The ATxmega192A3U has 707 registers in 67 peripherals, one page each.
TCE1 16-bit Timer/Counter With PWM CTRLAControl Register A
Address 0xA40
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 0xA41
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 Slope3 Single Slope5 Dual Slope, Update on TOP5 Dual Slope, Update on TOP6 Dual Slope, Update on both TOP and BOTTOM6 Dual Slope, Update on both TOP and BOTTOM7 Dual Slope, Update on BOTTOM7 Dual Slope, Update on BOTTOM
CTRLCControl register C
Address 0xA42
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 0xA43
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 0xA44
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 0xA46
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 0xA47
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 0xA48
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 0xA49
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 0xA4A
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 0xA4B
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 0xA4C
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 0xA4F
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 – 0 – CNTCount
Address 0xA60
Reset 0x0000
Access read/write
Size 16-bit PERPeriod
Address 0xA66
Reset 0x0000
Access read/write
Size 16-bit CCACompare or Capture A
Address 0xA68
Reset 0x0000
Access read/write
Size 16-bit CCBCompare or Capture B
Address 0xA6A
Reset 0x0000
Access read/write
Size 16-bit PERBUFPeriod Buffer
Address 0xA76
Reset 0x0000
Access read/write
Size 16-bit CCABUFCompare Or Capture A Buffer
Address 0xA78
Reset 0x0000
Access read/write
Size 16-bit CCBBUFCompare Or Capture B Buffer
Address 0xA7A
Reset 0x0000
Access read/write
Size 16-bit