English
Language : 

EM785840 Datasheet, PDF (8/45 Pages) ELAN Microelectronics Corp – 8-BIT MICRO-CONTROLLER
EM785840/5841/5842
8-bit Micro-controller
VII. Functional Descriptions
VII.1 Operational Registers
Register configuration
R PAGE registers
Addr R PAGE0
R PAGE1
R PAGE2
00 Indirect addressing
01 TCC
02 PC
03 Page, Status
04 RAM bank, RSR
05 Program ROM page
06 Port6 I/O data
07 Port7 I/O data
ADC MSB output
data
08
09 Port9 I/O data
0A PLL, Main clock,
WDTE
0B
ADC output data
buffer
0C PortC I/O data
Counter1 data
0D
0E Interrupt flag
0F Interrupt flag
10 16 bytes
: Common registers
R PAGE3
PWM control
Duty of PWM1
PWM1 control
Duty of PWM1
Period of PWM1
Duty of PWM2
PWM2 control
Duty of PWM2
Period of PWM2
1F
20
Bank0
: Common registers
3F (32x8 for each
bank)
Bank1
Bank2
Bank3
*Address 00~0F with page0~page3 are special registers. Address 10~1F are global with general purpose memory. By
execute MOV instruction, MCU can read or write these register directly and RAM bank select bits (RB1, RB0 in R4
page0) will be ignored. Address 20~ 3F are general purpose RAM too, but user must indicate the bank number before
access data.
__________________________________________________________________________________________________________________________________________________________________
* This specification is subject to change without notice.
2004/11/10 V1.2