EM785840/5841/5842
8-bit Micro-controller
VII. Functional Descriptions
VII.1 Operational Registers
Register configuration
R PAGE registers
R PAGE2
Addr R PAGE0
00 Indirect addressing
01 TCC
R PAGE1
R PAGE3
02 PC
03 Page, Status
04 RAM bank, RSR
05 Program ROM page
06 Port6 I/O data
07 Port7 I/O data
PWM control
Duty of PWM1
PWM1 control
Duty of PWM1
ADC MSB output
data
08
Period of PWM1
Duty of PWM2
PWM2 control
Duty of PWM2
Period of PWM2
09 Port9 I/O data
0A PLL, Main clock,
WDTE
0B
ADC output data
buffer
0C PortC I/O data
0D
Counter1 data
0E Interrupt flag
0F Interrupt flag
10 16 bytes
Common registers
:
1F
20
:
Bank0
Common registers
Bank1
Bank2
Bank3
3F (32x8 for each
bank)
*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.
6
2004/11/10 V1.2