Modular Input/Output Subsystem (MIOS14)
MPC561/MPC563 Reference Manual, Rev. 1.2
Freescale Semiconductor
17-35
Figure 17-19. Single Shot Output Pulse Example
17.9.3.5.2
Single Output Compare Operation
The single output compare operation is selected by writing to only one of the two data registers (A or B),
thus enabling only one of the comparators. Following the first successful match on the enabled channel,
the output level is fixed and remains at the same level indefinitely with no further software intervention
being required. To generate a single output compare, the OCAB mode should be used to generate a flag on
both the A and the B match.
NOTE
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 perform a single output compare.
FLAG reset
by software
Mode selection; MODE0 = 0
Output signal
FLAG bit
0x1000
0x1000
0x1100
0xxxxx
Register B1
Register B2
0xxxxx
0x1100
0x1000
0x1000
0xxxxx
0x1100
0xxxxx
0x1000
0x1100
0x1000
0x1100
0xxxxx
0x0500
0x1000
0x1100
0x0000
0x1000
0x1100
Register A
0x1100
0xxxxx
Internal Register, not accessible to software
A Event
B Event
Write to A and B
Reoccurrences of the timer count do not
trigger the output pulse unless r egisters
A and B have been written again.
Counter Bus
16-bit
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...