4 port clear output data registers (clrn), 4 port clear output data registers (clrn) -14, Figure 26-14 – Motorola ColdFire MCF5281 User Manual
Page 514: 4 port clear output data registers (clr n ), Port n p/set n bits are described in table 26-5

General Purpose I/O Module
26-14
Freescale Semiconductor
PORTnP/SETn bits are described in
26.3.2.4
Port Clear Output Data Registers (CLRn)
Clearing a CLRn register clears the corresponding bits in the PORTn register. Setting it has no effect.
Reading the CLRn register returns 0s.
Most PORTn registers have a full 8-bit implementation, as shown in
registers use fewer than eight bits. Their bit definitions are shown in
, and
.
The CLRn registers are read/write accessible.
7
4
3
2
1
0
Field
—
PORTnP3/
SETn3
PORTnP2/
SETn2
PORTnP1/
SETn1
PORTnP0/
SETn0
Reset
0000
Current Pin State
R/W:
—
R/W
Address
IPSBAR + 0x10_0037 (PORTTCP/SETTC), 0x10_0038 (PORTTDP/SETTD),
0x10_0039 (PORTUAP/SETUA)
Figure 26-14. Port Pin Data/Set Data Registers (4-bit)
Table 26-5. PORTnP/SETn (8-bit, 6-bit, and 4-bit) Field Descriptions
Register
Bits
Name
Description
8-bit
7–0
PORTxnP/SETxn
Port x Pin Data/Set Data Bits
1 Port x pin state is 1 (read); set corresponding
PORTx bit (write)
0 Port x pin state is 0 (read)
7-bit
6–0
6-bit
5–0
4-bit
3–0
7-bit
7
—
Reserved, should be cleared.
6-bit
7–6
4-bit
7–4
7
6
5
4
3
2
1
0
Field
CLRn7
CLRn6
CLRn5
CLRn4
CLRn3
CLRn2
CLRn1
CLRn0
Reset
0000_0000
R/W:
R/W
Address IPSBAR + 0x10_003C (CLRA), 0x10_003D (CLRB), 003E (CLRC), 0x10_003F (CLRD), 0x10_0040
(CLRE), 0x10_0041 (CLRF), 0x10_0042 (CLRG), 0x10_0043 (CLRH), 0x10_0044 (CLRJ),
0x10_0045 (CLRDD), 0x10_0046 (CLREH), 0x10_0047 (CLREL)
Figure 26-15. Port Clear Output Data Registers (8-bit)
MCF5282 and MCF5216 ColdFire Microcontroller User’s Manual, Rev. 3