English
Language : 

EU1020 Datasheet, PDF (15/21 Pages) Eorex Corporation – 8-bit MCU with 10-bit A/D Converter
eorex
EU1020
Note:
*PBR.n = 1, enable HALT or STOP mode released by input falling edge signal;
PBR.n = 0, disable HALT or STOP mode release, where n = 6 ~ 0.
*Setting PBR.n register as “1” can enable to release HALT or STOP mode by PB port input signal
from high to low. After HALT or STOP mode released, the oscillator will oscillate at the same time.
If PBINT=1, PB-interrupt subroutine will start. If PBINT=0, the program counter will execute the
next instruction after HALT or STOP.
PBIO register: control PB port as input or output mode. Also, it can be set as partial bits in input mode
and partial bits in output mode.
Address 16H
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
Name PBIO
#
1/0
1/0
1/0
1/0
1/0
1/0
1/0
Default Value
#
1
1
1
1
1
1
1
Note:
*PBIO.n = 1, set as input mode;
PBIO.n = 0, set as output mode.;
That n =6 ~0.
PBMD register
Address 17H
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
Name PBMD
#
1/0
1/0
1/0
1/0
1/0
1/0
1/0
Default Value
#
0
0
0
0
0
0
0
Note:
*When PBIO corresponding bit is optioned as output mode (PBIO.n=0), PBMD.n will work as
CMOS or NMOS option bit.
(PBIO.n=0, PB.n works as output mode)
PBMD.n = 0, PB.n is NMOS output.
PBMD.n = 1, PB.n is CMOS output.
*When PBIO corresponding bit is optioned as input mode (PBIO.n=1), PBMD.n will work as
internal pull-up resistor enable bit or disable bit.
(PBIO.n=1, PB.n works as input mode)
PBMD.n = 0, disable PB.n internal pull-up resistor,
PBMD.n = 1, enable PB.n internal pull-up resistor.
That n = 6 ~ 0.
Feb.2009
15/21
www.eorex.com