Tmr Compare Register 1 (Cmp1) - Freescale Semiconductor 56F800 User Manual

16-bit digital signal controllers
Hide thumbs Also See for 56F800:
Table of Contents

Advertisement

Register Definitions
12.7.2.11 Enable External OFLAG Force (EEOF)—Bit 4
When set, this bit enables the compare from another counter/timer enabled as a master to force
the state of this counters OFLAG output signal.
12.7.2.12 Forced OFLAG Value (VAL)—Bit 3
This bit determines the value of the OFLAG output signal when an software triggered FORCE
command, or another counter/timer (set as a master) issues a FORCE command.
12.7.2.13 Force the OFLAG Output (FORCE)—Bit 2
This write-only bit forces the current value of the VAL bit to be written to the OFLAG output.
This bit always reads as 0. The VAL and FORCE bits can be written simultaneously in a single
write operation. Write to the FORCE bit only if the counter is disabled. Setting this bit while the
counter is enabled may yield unpredictable results.
12.7.2.14 Output Polarity Select (OPS)—Bit 1
When set, this bit inverts the polarity of a signal driven by a timer group on to an external
package pin. Other timer groups reading this pin will read the inverted signal.
• 0 = True polarity
• 1 = Inverted polarity
12.7.2.15 Output Enable (OEN)—Bit 0
When set, this bit enables the OFLAG output signal to be put on the external pin. Other timer
groups using this external pin as their input will see the driven value. The polarity of the signal
will be determined by the OPS bit.

12.7.3 TMR Compare Register 1 (CMP1)

TMRA0_CMP1 (Timer A, Channel 0 Compare #1)—Address: TMRA_BASE + $0
TMRA1_CMP1 (Timer A, Channel 1 Compare #1)—Address: TMRA_BASE + $8 – 56F826
TMRA2_CMP1 (Timer A, Channel 2 Compare #1)—Address: TMRA_BASE + $10 – 56F826
TMRA3_CMP1 (Timer A, Channel 3 Compare #1)—Address: TMRA_BASE + $18 – 56F826
BASE+$0,8,10,18
15
Read
Write
Reset
0
This read/write register stores the value used for comparison with the counter value.
18
14
13
12
11
10
0
0
0
0
0
Figure 12-4. TMR Compare Register 1 (CMP1)
See Programmer's Sheet on Appendix page B - 90
56F826/827 User Manual, Rev. 3
9
8
7
6
5
COMPARISON VALUE
0
0
0
0
0
$10 – 56F827
$20 – 56F827
$30 – 56F827
4
3
2
1
0
0
0
0
0
0
Freescale Semiconductor

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 56F800 and is the answer not in the manual?

Table of Contents