Modular Input/Output Subsystem (MIOS14)
MPC561/MPC563 Reference Manual, Rev. 1.2
17-44
Freescale Semiconductor
MSB
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
LSB
15
Field PIN WOR FREN
—
EDPOL FORCA FORCB
—
BSL
—
MODE
SRESET
—
000_0000_0000_0000
Addr
0x30 605E, 0x30 6066, 0x30 606E, 0x30 6076, 0x30 607E, 0x30 60DE, 0x30 60E6, 0x30 60EE,
0x30 60F6, 0x30 60FE
Figure 17-24. MDASM Status/Control Register (MDASMSCR)
Table 17-21. MDASMSCR Bit Descriptions
Bits
Name
Description
0
PIN
Pin Input Status — The pin input status bit reflects the status of the corresponding bit.
1
WOR
Wired-OR bit — In the DIS, IPWM, IPM and IC modes, the WOR bit is not used; reading this bit
returns the value that was previously written.
In the OCB, OCAB and OPWM modes, the WOR bit selects whether the output buffer is
configured for open-drain or totem pole operation. When open-drain mode is selected, the
EDPOL bit is not used; writing to EDPOL will have no effect on the output voltage.
1 Output buffer is open-drain.
0 Output buffer is totem pole.
The WOR bit is cleared by reset.
2
FREN
Freeze enable bit — This active high read/write control bit enables the MDASM to recognize the
MIOB freeze signal.
1 = The MDASM is frozen if the MIOB freeze line is active.
0 = The MDASM is not frozen even if the MIOB freeze line is active.
The FREN is cleared by reset.
3
—
Reserved
4
EDPOL
Polarity bit — In the DIS mode, this bit is not used; reading it returns the last value written.
In the IPWM mode, this bit is used to select the capture edge sensitivity of channels A and B.
1 Channel A captures on a falling edge. Channel B captures on a rising edge.
0 Channel A captures on a rising edge. Channel B captures on a falling edge.
In the IPM and IC modes, the EDPOL bit is used to select the input capture edge sensitivity of
channel A.
1 Channel A captures on a falling edge.
0 Channel A captures on a rising edge.
In the OCB, OCAB and OPWM modes, the EDPOL bit is used to select the voltage level on the
output signal. If open-drain mode is selected via the WOR bit, the EDPOL bit is disabled and
writing to it will have no effect on the output voltage.
1 The complement of the output flip-flop logic level appears on the output signal: a match on
channel A resets the output signal; a match on channel B sets the output signal.
0 The output flip-flop logic level appears on the output signal: a match on channel A sets the
output signal, a match on channel B resets the output signal.
The EDPOL bit is cleared by reset.
5
FORCA
Force A bit — In the OCB, OCAB and OPWM modes, the FORCA bit allows the software to force
the output flip-flop to behave as if a successful comparison had occurred on channel A (except
that the FLAG line is not activated). Writing a one to FORCA sets the output flip-flop; writing a
zero to it has no effect.
In the DIS, IPWM, IPM and IC modes, the FORCA bit is not used and writing to it has no effect.
FORCA is cleared by reset and is always read as zero.
Writing a one to both FORCA and FORCB simultaneously resets the output flip-flop.
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...