DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

EM785840M Ver la hoja de datos (PDF) - ELAN Microelectronics

Número de pieza
componentes Descripción
Fabricante
EM785840M
EMC
ELAN Microelectronics EMC
EM785840M Datasheet PDF : 45 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
EM785840/5841/5842
8-bit Micro-controller
Bit 6~Bit 7(RPAGE0 ~ RPAGE1): change R5 ~ RE to another page
Please refer to VII.1 Operational registers for detail register configuration.
(RPAGE1,RPAGE0)
R page # selected
(0,0)
R page 0
(0,1)
R page 1
(1,0)
R page 2
(1,1)
R page 3
R4 (RAM selection for common registers R20 ~ R3F))
(RAM selection register)
7
6
5
4
3
2
1
0
RB1 RB0 RSR5 RSR4 RSR3 RSR2 RSR1 RSR0
R/W-0 R/W-0 R/W R/W R/W R/W R/W R/W
Bit 0 ~ Bit 5 (RSR0 ~ RSR5) : Indirect addressing for common registers R20 ~ R3F
RSR bits are used to select up to 32 registers (R20 to R3F) in the indirect addressing mode.
Bit 6 ~ Bit 7 (RB0 ~ RB1) : Bank selection bits for common registers R20 ~ R3F
These selection bits are used to determine which bank is activated among the 4 banks for 32 register (R20 to
R3F)..
Please refer to VII.1 Operational registers for details.
R5 (Program page selection, PWM control)
PAGE0 (PORT5 I/O data register, Program page register)
7
6
5
4
3
2
1
0
X
X
X
X
0
0
PS1
PS0
-
-
-
-
R/W-0 R/W-0 R/W-0 R/W-0
Bit 0 ~ Bit 1 (PS0 ~ PS1) : Program page selection bits
PS1 PS0 Program memory page (Address)
0 0 Page 0
0 1 Page 1
1 0 Page 2
1 1 Page 3
User can use PAGE instruction to change page to maintain program page by user.
Bit2~Bit3 : (undefined) These 2 bits must clear to 0 or MCU will access wronging program code.
Bit4~Bit7 : (undefined) not allowed to use
PAGE1, PAGE2 (Unused registers)
These two registers are not allowed to use.
PAGE3 (PWMCON)
7
6
5
4
3
2
PWM2E PWM1E T2EN T1EN T2P1 T2P0
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
Bit 0 ~ Bit 1 ( T1P0 ~ T1P1 ): TMR1 clock prescale option bits.
T1P1
T1P0
Prescale
0
0
1:2(Default)
0
1
1:8
1
0
1:32
1
1
1:64
1
T1P1
R/W-0
0
T1P0
R/W-0
__________________________________________________________________________________________________________________________________________________________________
* This specification is subject to change without notice.
9
2004/11/10 V1.2

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]