English
Language : 

MC68HC908JW32_09 Datasheet, PDF (182/232 Pages) Freescale Semiconductor, Inc – M68HC08 Microcontrollers
Input/Output (I/O) Ports
13.7 Port Options
All pins of port B have programmable pullup resistors and LED drive capability. Port pins have
programmable high current drive capability.
13.7.1 Port Option Control Register 1
Address:
Read:
Write:
Reset:
$001A
Bit 7
6
5
4
3
2
1
LEDB7 LEDB6 LEDB5 LEDB4 LEDB3 LEDB2 LEDB1
0
0
0
0
0
0
0
Table 13-10. port Option Control Register 1 (POCR1)
Bit 0
LEDB0
0
LEDB[7:0] — Port B LED Drive Enable Bits
These read/write bits are software programmable to enable the direct LED drive on an output port pin.
1 = Corresponding port B pin configured for direct LED drive: high current sinking capability
0 = Corresponding port B pin configured for standard drive
13.7.2 Port Option Control Register 2
The port option control register controls the pullup options for port E.
Address:
Read:
Write:
Reset:
$001B
Bit 7
0
6
5
4
3
2
1
0
PTD7PD PTD3PD PTD2PD DPPULLEN PTE3P
0
0
0
0
0
0
0
= Unimplemented
Table 13-11. Port Option Control Register 2 (POCR2)
Bit 0
PTE2P
0
PTD7PD — Pin PTD7 Pullup Disable
This read/write bit disables the pullup option for pin PTD7. The pullup resistor is default enabled after
reset.
1 = Pullup option disabled
0 = Pullup option enabled
PTD3PD — Pin PTD3 Pullup Disable
This read/write bit disables the pullup option for pin PTD3. The pullup resistor is default enabled after
reset.
1 = Pullup option disabled
0 = Pullup option enabled
PTD2PD — Pin PTD2 Pullup Disable
This read/write bit disables the pullup option for pin PTD2. The pullup resistor is default enabled after
reset.
1 = Pullup option disabled
0 = Pullup option enabled
MC68HC908JW32 Data Sheet, Rev. 6
182
Freescale Semiconductor