ML63611 User’s Manual
Chapter 10 Ports (INPUT, I/O PORT)
10 – 10
OPTION B (D): 1.5 V (3.0 V), With regulator
circuit for LCD bias
OPTION A (C): 1.5 V (3.0 V), Without regulator
circuit for LCD bias
(3) Port A control registers 0/1 (PACON0, PACON1)
PACON0 and PACON1 are 4-bit special function registers (SFRs) used to select port input/output mode.
The input mode may be pull-down resistor input, pull-up resistor input or high-impedance input.
The output mode may be CMOS output, N-channel open drain output, P-channel open drain output or high-
impedance output.
•
Port A
PA1MD1
PA1MD0
PA0MD1
PA0MD0
PACON0 (02AH)
(R/W)
bit 3
bit 2
bit 1
bit 0
Port A.1 input/output mode select
Input mode
bit 3
0
1
×
bit 2
Port A.0 input/output mode select
Input mode
bit 1
0
1
×
bit 0
Output mode
bit 3
0
0
1
1
bit 2
Output mode
bit 1
0
0
1
1
bit 0
PA3MD1
PA3MD0
PA2MD1
PA2MD0
PACON1 (02BH)
(R/W)
bit 3
bit 2
bit 1
bit 0
Port A.3 input/output mode select
Input mode
bit 3
0
1
×
bit 2
Port A.2 input/output mode select
Input mode
bit 1
0
1
×
bit 0
Output mode
bit 3
0
0
1
1
bit 2
Output mode
bit 1
0
0
1
1
bit 0
0 : Input with pull-up resistor
1 : High-impedance input
0 : Input with pull-up resistor
1 : High-impedance input
0 : CMOS output (initial value)
1 : High-impedance output
0 : CMOS output (initial value)
1 : N-channel open drain output
0 : P-channel open drain output
1 : High-impedance output
1 : N-channel open drain output
0 : P-channel open drain output
0
:
Input with pull-down resistor (initial value)
0
:
Input with pull-down resistor (initial value)
0 : Input with pull-up resistor
1 : High-impedance input
0 : Input with pull-up resistor
1 : High-impedance input
0 : CMOS output (initial value)
1 : High-impedance output
0 : CMOS output (initial value)
1 : N-channel open drain output
0 : P-channel open drain output
1 : High-impedance output
1 : N-channel open drain output
0 : P-channel open drain output
0 :
Input with pull-down resistor (initial value)
0 :
Input with pull-down resistor (initial value)
Summary of Contents for ML63611
Page 9: ...Chapter 1 Overview...
Page 33: ...Chapter 2 CPU and Memory Spaces...
Page 42: ...Chapter 3 CPU Control Functions...
Page 49: ...Chapter 4 Interrupt INT...
Page 62: ...Chapter 5 Clock Generator Circuit OSC...
Page 71: ...Chapter 6 Time Base Counter TBC...
Page 75: ...Chapter 7 Timers TIMER...
Page 99: ...Chapter 8 100 Hz Timer Counter 100HzTC...
Page 103: ...Chapter 9 Watchdog Timer WDT...
Page 108: ...Chapter 10 Ports INPUT I O PORT...
Page 140: ...Chapter 11 Melody Driver MELODY...
Page 152: ...Chapter 12 Serial Port SIO...
Page 179: ...Chapter 13 LCD Driver LCD...
Page 200: ...Chapter 14 Battery Low Detect Circuit BLD...
Page 204: ...Chapter 15 Power Supply Circuit POWER...
Page 215: ...Chapter 16 A D Converter ADC...
Page 238: ...Appendixes...