Modular Input/Output Subsystem (MIOS14)
MPC561/MPC563 Reference Manual, Rev. 1.2
17-34
Freescale Semiconductor
The output flip-flop is set when a match occurs on channel A. The output flip-flop is reset when a match
occurs on channel B. The polarity of the output signal is selected by the EDPOL bit. The output flip-flop
level can be obtained at any time by reading the PIN bit.
If subsequent enabled output compares occur on channels A and B, the output pulses continue to be output,
regardless of the state of the FLAG bit.
At any time, the FORCA and FORCB bits allow the software to force the output flip-flop to the level
corresponding to a comparison on channel A or B, respectively.
NOTE
The FLAG line is not affected by these ‘force’ operations.
Totem pole or open-drain output circuit configurations can be selected using the WOR bit in the
MDASMSCR register.
NOTE
If both channels are loaded with the same value, the output flip-flop
provides a logic zero level output and the flag bit is still set on the match.
NOTE
16-bit counter bus compare only occurs when the 16-bit counter bus is
updated.
17.9.3.5.1
Single Shot Output Pulse Operation
The single shot output pulse operation is selected by writing the leading edge value of the desired pulse to
data register A and the trailing edge value to data register B. A single pulse will be output at the desired
time, thereby disabling the comparators until new values are written to the data registers. To generate a
single shot output pulse, the OCB mode should be used to only generate a flag on the B match.
In this mode, registers A and B2 are accessible to the user software (at consecutive addresses).
provides an example of how the MDASM can be used to generate a single output pulse.
Summary of Contents for MPC561
Page 84: ...MPC561 MPC563 Reference Manual Rev 1 2 lxxxiv Freescale Semiconductor...
Page 144: ...Signal Descriptions MPC561 MPC563 Reference Manual Rev 1 2 2 46 Freescale Semiconductor...
Page 206: ...Central Processing Unit MPC561 MPC563 Reference Manual Rev 1 2 3 62 Freescale Semiconductor...
Page 302: ...Reset MPC561 MPC563 Reference Manual Rev 1 2 7 14 Freescale Semiconductor...
Page 854: ...Time Processor Unit 3 MPC561 MPC563 Reference Manual Rev 1 2 19 24 Freescale Semiconductor...
Page 968: ...Development Support MPC561 MPC563 Reference Manual Rev 1 2 23 54 Freescale Semiconductor...
Page 1144: ...Internal Memory Map MPC561 MPC563 Reference Manual Rev 1 2 B 34 Freescale Semiconductor...
Page 1212: ...TPU3 ROM Functions MPC561 MPC563 Reference Manual Rev 1 2 D 60 Freescale Semiconductor...
Page 1216: ...Memory Access Timing MPC561 MPC563 Reference Manual Rev 1 2 E 4 Freescale Semiconductor...