Chapter 26 eTimer
MPC5602P Microcontroller Reference Manual, Rev. 4
724
Freescale Semiconductor
26.6.2.10 Control register 3 (CTRL3)
MSTR
Master Mode
This bit enables the compare function’s output to be broadcast to the other channels in the module.
The compare signal then can be used to reinitialize the other counters and/or force their OFLAG
signal outputs.
0 Disable broadcast of compare events from this channel.
1 Enable broadcast of compare events from this channel.
OUTMODE
Output Mode
These bits determine the mode of operation for the OFLAG output signal.
0000 Software controlled
0001 Clear OFLAG output on successful compare (COMP1 or COMP2)
0010 Set OFLAG output on successful compare (COMP1 or COMP2)
0011 Toggle OFLAG output on successful compare (COMP1 or COMP2)
0100 Toggle OFLAG output using alternating compare registers
0101 Set on compare with COMP1, cleared on secondary source input edge
0110 Set on compare with COMP2, cleared on secondary source input edge
0111 Set on compare, cleared on counter roll-over
1000 Set on successful compare on COMP1, clear on successful compare on COMP2
1001 Asserted while counter is active, cleared when counter is stopped.
1010 Asserted when counting up, cleared when counting down.
1011 Reserved
1100 Reserved
1101 Reserved
1110 Reserved
1111 Enable gated clock output while counter is active
Address: Base + 0x0012 (eTimer0)
Base + 0x0032 (eTimer1)
Base + 0x0052 (eTimer2)
Base + 0x0072 (eTimer3)
Base + 0x0092 (eTimer4)
Base + 0x00B2 (eTimer5)
Access: User read/write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R STP
EN
ROC
0
1
1
1
1
C2FCNT[2:0]
C1FCNT[2:0]
DBGEN
[1:0]
W
Reset
0
0
0
0
1
1
1
1
0
0
0
0
0
0
0
0
Figure 26-12. Control register 3 (CTRL3)
Table 26-11. CTRL2 field descriptions (continued)
Field
Description