AVR32EB28 TCF0 registers

The 11 registers of TCF0 (24-bit Timer/Counter for frequency generation), from 0xC00, with their reset value and every field. The AVR32EB28 has 423 registers in 40 peripherals, one page each.

TCF0 24-bit Timer/Counter for frequency generation

CTRLAControl A

Address
0xC00
Reset
0x00
Access
read/write
  1. 7RUNSTDBY
  2. 6–
  3. 5–
  4. 4–
  5. 3PRESC2
  6. 2PRESC1
  7. 1PRESC0
  8. 0ENABLE
3 fields
FieldBitsWhat it does
RUNSTDBY7Run Standby
PRESC3:1Clock Prescaler
  • 0 Runs directly on Clock Source
  • 1 Divide clock source by 2
  • 2 Divide clock source by 4
  • 3 Divide clock source by 8
  • 4 Divide clock source by 16
  • 5 Divide clock source by 32
  • 6 Divide clock source by 64
  • 7 Divide clock source by 128
ENABLE0Enable

CTRLBControl B

Address
0xC01
Reset
0x00
Access
read/write
  1. 7CMP1EV
  2. 6CMP0EV
  3. 5CLKSEL2
  4. 4CLKSEL1
  5. 3CLKSEL0
  6. 2WGMODE2
  7. 1WGMODE1
  8. 0WGMODE0
4 fields
FieldBitsWhat it does
CMP1EV7Compare 1 Event Generation
  • 0 Event is generated as pulse
  • 1 Waveform is used as event output
CMP0EV6Compare 0 Event Generation
  • 0 Event is generated as pulse
  • 1 Waveform is used as event output
CLKSEL5:3Clock Select
  • 0 Peripheral Clock
  • 1 Event as clock source
  • 2 Internal High Frequency Oscillator
  • 3 Internal 32.768 kHz Oscillator
  • 5 PLL
WGMODE2:0Waveform Generation Mode
  • 0 Frequency
  • 1 Numerically Controlled Oscillator Pulse-Frequency
  • 2 Numerically Controlled Oscillator Fixed Duty Cycle
  • 7 8-bit PWM

CTRLCControl C

Address
0xC02
Reset
0x00
Access
read/write
  1. 7–
  2. 6WGPULSE2
  3. 5WGPULSE1
  4. 4WGPULSE0
  5. 3WO1POL
  6. 2WO0POL
  7. 1WO1EN
  8. 0WO0EN
5 fields
FieldBitsWhat it does
WGPULSE6:4Waveform Generation Pulse Length
  • 0 High pulse duration is 1 clock period
  • 1 High pulse duration is 2 clock period
  • 2 High pulse duration is 4 clock period
  • 3 High pulse duration is 8 clock period
  • 4 High pulse duration is 16 clock period
  • 5 High pulse duration is 32 clock period
  • 6 High pulse duration is 64 clock period
  • 7 High pulse duration is 128 clock period
WO1POL3Waveform Output 1 Polarity
  • 0 Waveform output set on update and cleared on match
  • 1 Waveform output cleared on update and set on match
WO0POL2Waveform Output 0 Polarity
  • 0 Waveform output set on update and cleared on match
  • 1 Waveform output cleared on update and set on match
WO1EN1Waveform Output 1 Enable
WO0EN0Waveform Output 0 Enable

CTRLDControl D

Address
0xC03
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1CMD1
  8. 0CMD0
1 field
FieldBitsWhat it does
CMD1:0Command
  • 0 No command
  • 1 Force update
  • 2 Force restart

EVCTRLEvent Control

Address
0xC04
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3FILTERA
  6. 2EVACTA1
  7. 1EVACTA0
  8. 0CNTAEI
3 fields
FieldBitsWhat it does
FILTERA3Event A Filter
EVACTA2:1Event Action A
  • 0 Restart Counter
  • 1 Mask waveform output to '0'
CNTAEI0Event A Input Enable

INTCTRLInterrupt Control

Address
0xC05
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2CMP1
  7. 1CMP0
  8. 0OVF
3 fields
FieldBitsWhat it does
CMP12Compare 1 Interrupt Enable
CMP01Compare 0 Interrupt Enable
OVF0Overflow

INTFLAGSInterrupt Flags

Address
0xC06
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2CMP1
  7. 1CMP0
  8. 0OVF
3 fields
FieldBitsWhat it does
CMP12Compare 1 Flag
CMP01Compare 0 Flag
OVF0Overflow Flag

STATUSStatus

Address
0xC07
Reset
0x00
Access
read only
  1. 7CMP1BUSY
  2. 6CMP0BUSY
  3. 5PERBUSY
  4. 4CNTBUSY
  5. 3CTRLDBUSY
  6. 2CTRLCBUSY
  7. 1CTRLABUSY
  8. 0–
7 fields
FieldBitsWhat it does
CMP1BUSY7Compare 1 Synchronization Busy
CMP0BUSY6Compare 0 Synchronization Busy
PERBUSY5Period Synchronization Busy
CNTBUSY4Counter Synchronization Busy
CTRLDBUSY3Control D Synchronization Busy
CTRLCBUSY2Control B Synchronization Busy
CTRLABUSY1Control A Synchronization Busy

DBGCTRLDebug Control

Address
0xC0D
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0DBGRUN
1 field
FieldBitsWhat it does
DBGRUN0Debug Run

CNTCount

Address
0xC10
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
CNT23:0Counter

CMPCompare

Address
0xC14
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
CMP23:0Compare