Pin Name
Port 7
P70 to P73
Port 8
P80 to P86
PWM2
PWM3
Port 3
P30 to P37
Port C
PC0 to PC7
RES
XT1
XT2
CF1
CF2
Output
Copyright © 2008 LG Electronics. Inc.Todos los derechos reservados.
Sólo con fines de capacitación y mantenimiento
I/O
I/O
• 4-bit I/O port
• I/O specifiable in 1-bit units
• Pull-up resistor can be turned on and off in 1-bit units
• Shared pins
P70 : INT0 input/HOLD reset input/timer 0L capture input/watchdog timer output
P71 : INT1 input/HOLD reset input/timer 0H capture input
P72 : INT2 input/HOLD reset input/timer 0 event input/timer 0L capture input/
high speed clock counter input
P73 : INT3 input (with noise filter)/timer 0 event input/timer 0H capture input
AD converter input port: AN8 (P70), AN9 (P71)
• Interrupt acknowledge type
Rising
INT0
enable
INT1
enable
INT2
enable
INT3
enable
I/O
• 7-bit I/O port
• I/O specifiable in 1-bit units
• Shared pins
AD converter input port : AN0 (P80) to AN6 (P86)
I/O
• PWM2 and PWM3 output ports
• General-purpose I/O available
I/O
• 8-bit I/O port
• I/O specifiable in 1-bit units
• Pull-up resistor can be turned on and off in 1-bit units
• Pin functions
P32: UART1 transmit
P33: UART1 receive
P34: UART2 transmit
P35: UART2 receive
I/O
• 8-bit I/O port
• I/O specifiable in 1-bit units
• Pull-up resistor can be turned on and off in 1-bit units
• Pin functions
PC5 to PC7: On-chip Debugger
Input
Reset pin
Input
• 32.768kHz crystal oscillator input pin
• Shared pins
General-purpose input port
AD converter input port : AN10
Must be connected to V DD 1 if not to be used.
I/O
• 32.768kHz crystal oscillator output pin
• Shared pins
General-purpose I/O port
AD converter input port : AN11
Must be set for oscillation and kept open if not to be used.
Input
Ceramic resonator input pin
Ceramic resonator output pin
Description
Rising/
Falling
H level
Falling
enable
disable
enable
enable
disable
enable
enable
enable
disable
enable
enable
disable
2-37
Option
No
L level
enable
enable
disable
disable
No
No
Yes
Yes
No
No
No
No
No
Sólo para uso interno de LGE