|
MC68HC05L16 Datasheet, PDF (32/146 Pages) Freescale Semiconductor, Inc – Microcontrollers | |||
|
◁ |
Memory Map
2.4.3 Open-Drain Output Control Register 1
Address: Option Map â $000A
Bit 7
6
5
4
3
2
1
Bit 0
Read:
DWOMH DWOML EWOMH EWOML
0
Write:
0
AWOMH AWOML
Reset: 0
0
0
0
0
0
0
0
Figure 2-7. Open-Drain Output Control Register 1 (WOM1)
DWOMH â Port D Open-Drain Mode (H)
When this bit is set, the upper four bits of port D are configured as open-drain outputs if these bits are
selected as port D output by the PDH bit in the LCDCR. This bit is cleared on reset.
DWOML â Port D Open-Drain Mode (L)
When this bit is set, the lower three bits of port D are configured as open-drain outputs if the
corresponding BPx pin is not used by the LCD driver. This bit is cleared on reset.
EWOMH â Port E Open-Drain Mode (H)
When this bit is set, the upper four bits of port E (that are configured as I/O output by the PEH bit in
the LCDCR) are configured as open-drain outputs. This bit is cleared on reset.
EWOML â Port E Open-Drain Mode (L)
When this bit is set, the lower four bits of port E (that are configured as I/O output by the PEL bit in the
LCDCR) are configured as open-drain outputs. This bit is cleared on reset.
Bits 3 and 2 â Reserved
These bits are not used and always return to logic 0.
AWOMH â Port A Open-Drain Mode (H)
When this bit is set, the upper four bits of port A that are configured as output (corresponding to the
DDRA bit set) become open-drain outputs. This bit is cleared on reset.
AWOML â Port E Open-Drain Mode (L)
When this bit is set, the lower four bits of port A that are configured as output (corresponding DDRA
bit set) become open-drain outputs. This bit is cleared on reset.
2.4.4 Open-Drain Output Control Register 2
Address:
Read:
Write:
Reset:
Option Map â $000B
Bit 7
6
1
1
1
1
5
CWOM5
0
4
CWOM4
0
3
CWOM3
0
2
CWOM2
0
1
CWOM1
0
Bit 0
CWOM0
0
Figure 2-8. Open-Drain Output Control Register 2 (WOM2)
Bits 7 and 6 â Reserved
These bits are not used and always read as logic 1. When configured as output, PC6 and PC7 are
always open drain.
MC68HC05L16 ⢠MC68HC705L16 Data Sheet, Rev. 4.1
32
Freescale Semiconductor
|
▷ |