English
Language : 

MC68HC05SR3D Datasheet, PDF (29/96 Pages) Freescale Semiconductor, Inc – Microcontrollers
3.4
PD6 — IRQ2
The port pin PD6 is configured as IRQ2 by setting the IRQ2E bit in the MCR. The external interrupt
IRQ2 behaves similar to IRQ except it is edge-triggered only.
See Section 5.2.2.2 for details on the external interrupt IRQ2.
3
3.5
Programmable Current Drive
All I/O ports, when programmed as outputs, can source or sink a current of 10mA for driving LEDs
directly. By setting the PIL bit in the Port Option Register (at $0A), PB5-PB7 can be programmed
to a low-current mode that source or sink only a current of 2mA when programmed as output. This
allows a direct drive to low current LEDs.
13
best case
12
11
typical
10
All ports
9
worst case
8
7
6
5
PB5-PB7 in low current mode
4
best case
3
typical
worst case
2
1
0
0
1
2
3
4
5
VOL (volts)
Figure 3-2 Typical IOL vs VOL @VDD=5V
Note:
Although the ports each has high current drive capability, designs should limit the total
port currents to not more than 100mA.
MC68HC05SR3
INPUT/OUTPUT PORTS
TPG
Freescale
3-3