
Carrier Modulator Transmitter (CMT) Block Description
MC9S08RC/RD/RE/RG Data Sheet, Rev. 1.11
120
Freescale Semiconductor
8.6.2
CMT Output Control Register (CMTOC)
This register is used to control the IRO output of the CMT module.
76543210
R
W
Reset
uuuuuuuu
u = Unaffected
Figure 8-11. Carrier Generator Data Register Low 2 (CMTCGL2)
Table 8-6. CMTCGL2 Field Descriptions
Field
Description
7:0
SL[7:0]
Secondary Carrier Low Time Data Values — When selected, these bits contain the number of input clocks
required to generate the carrier high and low time periods. When operating in time mode (see
Section 8.5.2.1,Mode"), this register pair and the primary register pair are alternatively selected under control of the modulator.
The secondary carrier high and low time values are unaffected out of reset. These bits must be written to nonzero
values before the carrier generator is enabled when operating in FSK mode.
76543210
R
IROL
CMTPOL
IROPEN
00000
W
Reset
00000000
= Unimplemented or Reserved
Figure 8-12. CMT Output Control Register (CMTOC)
Table 8-7. CMTOC Field Descriptions
Field
Description
7
IROL
IRO Latch Control — Reading IROL reads the state of the IRO latch. Writing IROL changes the state of the IRO
pin when the MCGEN bit is clear in the CMTMSC register and the IROPEN bit is set.
6
CMTPOL
CMT Output Polarity — The CMTPOL bit controls the polarity of the IRO pin output of the CMT.
0 IRO pin is active low
1 IRO pin is active high
5
IROPEN
IRO Pin Enable — The IROPEN bit is used to enable and disable the IRO pin. When the pin is enabled, it is an
output that drives out either the CMT transmitter output or the state of the IROL bit depending on whether the
MCGEN bit in the CMTMSC register is set. Also, the state of the output is either inverted or not depending on
the state of the CMTPOL bit. When the pin is disabled, it is in a high impedance state so it doesn’t draw any
current. The pin is disabled during reset.
0 IRO pin disabled
1 IRO pin enabled as output