ML63611 User’s Manual
Chapter 10 Ports (INPUT, I/O PORT)
10 – 29
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 E control registers 0/1 (PECON0, PECON1)
PECON0 and PECON1 are 4-bit special function registers (SFRs) used to select port input/output mode.
The input mode can be pull-down resistor input, pull-up resistor input or high-impedance input.
The output mode can be CMOS output, N-channel open drain output, P-channel open drain output or high-
impedance output.
At system reset all bits in PECON0 and PECON1 are set to “0”, and port E is initialized to pull-down resistor
input mode and CMOS output mode.
PE1MD1
PE1MD0
PE0MD1
PE0MD0
PECON0 (03DH)
(R/W)
bit 3
bit 2
bit 1
bit 0
Port E.1 input/output mode select
Input mode
bit 3
0
1
×
bit 2
Port E.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
PE3MD1
PE3MD0
PE2MD1
PE2MD0
PECON1 (03EH)
(R/W)
bit 3
bit 2
bit 1
bit 0
Port E.3 input/output mode select
Input mode
bit 3
0
1
×
bit 2
Port E.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)
Содержание ML63611
Страница 9: ...Chapter 1 Overview...
Страница 33: ...Chapter 2 CPU and Memory Spaces...
Страница 42: ...Chapter 3 CPU Control Functions...
Страница 49: ...Chapter 4 Interrupt INT...
Страница 62: ...Chapter 5 Clock Generator Circuit OSC...
Страница 71: ...Chapter 6 Time Base Counter TBC...
Страница 75: ...Chapter 7 Timers TIMER...
Страница 99: ...Chapter 8 100 Hz Timer Counter 100HzTC...
Страница 103: ...Chapter 9 Watchdog Timer WDT...
Страница 108: ...Chapter 10 Ports INPUT I O PORT...
Страница 140: ...Chapter 11 Melody Driver MELODY...
Страница 152: ...Chapter 12 Serial Port SIO...
Страница 179: ...Chapter 13 LCD Driver LCD...
Страница 200: ...Chapter 14 Battery Low Detect Circuit BLD...
Страница 204: ...Chapter 15 Power Supply Circuit POWER...
Страница 215: ...Chapter 16 A D Converter ADC...
Страница 238: ...Appendixes...
Страница 271: ...ML63611 User s Manual First Edition May 2001 Second Edition June 2001 2001 Oki Electric Industry Co Ltd PEUL63611 02...