CTRLAControl Register A
- Address
0x800- Reset
0x00- Access
- read/write
- 7–
- 6–
- 5–
- 4–
- 3CLKSEL3
- 2CLKSEL2
- 1CLKSEL1
- 0CLKSEL0
1 field
| Field | Bits | What it does |
|---|---|---|
| CLKSEL | 3:0 | Clock Selection
|
The 20 registers of TCC2 (16-bit Timer/Counter type 2), from 0x800, with their reset value and every field. The ATxmega16C4 has 463 registers in 47 peripherals, one page each.
0x8000x00| Field | Bits | What it does |
|---|---|---|
| CLKSEL | 3:0 | Clock Selection
|
0x8010x00| Field | Bits | What it does |
|---|---|---|
| HCMPDEN | 7 | High Byte Compare D Enable |
| HCMPCEN | 6 | High Byte Compare C Enable |
| HCMPBEN | 5 | High Byte Compare B Enable |
| HCMPAEN | 4 | High Byte Compare A Enable |
| LCMPDEN | 3 | Low Byte Compare D Enable |
| LCMPCEN | 2 | Low Byte Compare C Enable |
| LCMPBEN | 1 | Low Byte Compare B Enable |
| LCMPAEN | 0 | Low Byte Compare A Enable |
0x8020x00| Field | Bits | What it does |
|---|---|---|
| HCMPD | 7 | High Byte Compare D Output Value |
| HCMPC | 6 | High Byte Compare C Output Value |
| HCMPB | 5 | High Byte Compare B Output Value |
| HCMPA | 4 | High Byte Compare A Output Value |
| LCMPD | 3 | Low Byte Compare D Output Value |
| LCMPC | 2 | Low Byte Compare C Output Value |
| LCMPB | 1 | Low Byte Compare B Output Value |
| LCMPA | 0 | Low Byte Compare A Output Value |
0x8040x00| Field | Bits | What it does |
|---|---|---|
| BYTEM | 1:0 | Byte Mode
|
0x8060x00| Field | Bits | What it does |
|---|---|---|
| HUNFINTLVL | 3:2 | High Byte Underflow Interrupt Level
|
| LUNFINTLVL | 1:0 | Low Byte Underflow interrupt level
|
0x8070x00| Field | Bits | What it does |
|---|---|---|
| LCMPDINTLVL | 7:6 | Low Byte Compare D Interrupt Level
|
| LCMPCINTLVL | 5:4 | Low Byte Compare C Interrupt Level
|
| LCMPBINTLVL | 3:2 | Low Byte Compare B Interrupt Level
|
| LCMPAINTLVL | 1:0 | Low Byte Compare A Interrupt Level
|
0x8090x00| Field | Bits | What it does |
|---|---|---|
| CMD | 3:2 | Command
|
| CMDEN | 1:0 | Command Enable
|
0x80C0x00| Field | Bits | What it does |
|---|---|---|
| LCMPDIF | 7 | Low Byte Compare D Interrupt Flag |
| LCMPCIF | 6 | Low Byte Compare C Interrupt Flag |
| LCMPBIF | 5 | Low Byte Compare B Interrupt Flag |
| LCMPAIF | 4 | Low Byte Compare A Interrupt Flag |
| HUNFIF | 1 | High Byte Underflow Interrupt Flag |
| LUNFIF | 0 | Low Byte Underflow Interrupt Flag |
0x8200x000x8210x000x8260x000x8270x000x8280x000x8290x000x82A0x000x82B0x000x82C0x000x82D0x000x82E0x000x82F0x00