Datasheet
1034
32117D–AVR-01/12
AT32UC3C
33.7.35 Comparison x Mode Register
Name:
CMPxM
Access Type: Read/Write
Offset: 0x138 + [x * 0x10]
Reset Value: 0x00000000
• CUPRCNT: Comparison x Update Period Counter
Reports the value of the comparison x update period counter.
Note: The CUPRCNT field is read-only.
• CUPR: Comparison x Update Period
Defines the time between each update of the comparison x mode and the comparison x value. This time is equal to CUPR+1
periods of the channel 0 counter.
• CPRCNT: Comparison x Period Counter
Reports the value of the comparison x period counter.
Note: The CPRCNT field is read-only.
• CPR: Comparison x Period
Defines the maximum value of the comparison x period counter (CPRCNT). The comparison x value is performed periodically
once every CPR+1 periods of the channel 0 counter.
• CTR: Comparison x Trigger
The comparison x is performed when the value of the comparison x period counter (CPRCNT) reaches the value defined by
CTR.
• CEN: Comparison x Enable
0: The comparison x is disabled and can not match.
1: The comparison x is enabled and can match.
31 30 29 28 27 26 25 24
- -------
23 22 21 20 19 18 17 16
CUPRCNT CUPR
15 14 13 12 11 10 9 8
CPRCNT CPR
76543210
CTR - - - CEN