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

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

Número de pieza
componentes Descripción
Fabricante
EM785841P
EMC
ELAN Microelectronics EMC
EM785841P 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
R9 (PORT9 I/O data)
PAGE0 (PORT9 I/O data register)
7
6
5
4
3
2
1
0
P97
P96
P95
P94
P93
P92
P91
P90
R/W
R/W
R/W
R/W R/W
R/W
R/W
R/W
Bit 0 ~ Bit 7 (P90 ~ P97) : 8-bit PORT9(0~7) I/O data register
User can use IOC register to define input or output each bit.
PAGE1: (undefined) not allowed to use
PAGE2: (undefined) not allowed to us
PAGE3 (DT2L: the Least Significant Byte ( Bit 7 ~ Bit 0 ) of Duty Cycle of PWM2)
7
6
5
4
3
2
1
0
PWM2[7] PWM2[6] PWM2[5] PWM2[4] PWM2[3] PWM2[2] PWM2[1] PWM2[0]
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
A specified value keeps the output of PWM2 to stay at high until the value matches with TMR2.
RA (PLL, Main clock selection, Watchdog timer)
PAGE0 (PLL enable bit, Main clock selection bits, Watchdog timer enable bit)
7
6
5
4
3
2
1
0
0
PLLEN CLK2 CLK1 CLK0
X
X WDTEN
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
-
-
R/W-0
Bit 0(WDTEN) : Watch dog control bit.
0/1 Î disable/enable
User can use WDTC instruction to clear watch dog counter. The watchdog timer is a free running on-chip RC
oscillator. The WDT will keep on running even after the oscillator driver has been turned off (i.e. in sleep mode).
During normal operation or sleep mode, a WDT time-out (if enabled) will cause the device to reset. The WDT can
be enabled or disabled at any time during the green mode or normal mode by software programming. Without
presacler, the WDT time-out period is approximately 18 ms.
Bit 1~Bit 2 : Unused
Bit 3 ~ Bit 5 (CLK0 ~ CLK2) : MAIN clock selection bits on Crystal mode. These three bits are unused on
IRC and ERIC mode.
In Crystal mode:
User can choose different frequency of main clock by CLK1 and CLK2. All the clock selection is list below.
PLLEN CLK2 CLK1 CLK0 Sub clock MAIN clock CPU clock
1
0
0
0
32.768kHz 3.582MHz 3.582MHz (Normal mode)
1
0
0
1
32.768kHz 3.582MHz 3.582MHz (Normal mode)
1
0
1
0
32.768kHz 3.582MHz 3.582MHz (Normal mode)
1
0
1
1
32.768kHz 3.582MHz 3.582MHz (Normal mode)
1
1
0
0
32.768kHz 14.3MHz 14.3MHz (Normal mode)
1
1
0
1
32.768kHz 14.3MHz 14.3MHz (Normal mode)
1
1
1
0
32.768kHz 14.3MHz 14.3MHz (Normal mode)
1
1
1
1
32.768kHz 14.3MHz 14.3MHz (Normal mode)
0 don’t care don’t care don’t care 32.768kHz don’t care 32.768kHz (Green mode)
Bit 6(PLLEN) : PLL's power control bit which is CPU mode control register. This bit is only used in crystal
mode. In RC mode, this bit will be ignored.
0/1 Î disable PLL/enable PLL
__________________________________________________________________________________________________________________________________________________________________
* This specification is subject to change without notice.
12
2004/11/10 V1.2

Share Link: 

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