欢迎访问ic37.com |
会员登录 免费注册
发布采购

EM78P5840 参数 Datasheet PDF下载

EM78P5840图片预览
型号: EM78P5840
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8 BIT MICROCONTROLLER]
分类和应用: 微控制器
文件页数/大小: 48 页 / 467 K
品牌: ELAN [ ELAN MICROELECTRONICS CORP ]
 浏览型号EM78P5840的Datasheet PDF文件第11页浏览型号EM78P5840的Datasheet PDF文件第12页浏览型号EM78P5840的Datasheet PDF文件第13页浏览型号EM78P5840的Datasheet PDF文件第14页浏览型号EM78P5840的Datasheet PDF文件第16页浏览型号EM78P5840的Datasheet PDF文件第17页浏览型号EM78P5840的Datasheet PDF文件第18页浏览型号EM78P5840的Datasheet PDF文件第19页  
EM78P5840/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  
R/W  
P96  
R/W  
P95  
R/W  
P94  
R/W  
P93  
R/W  
P92  
R/W  
P91  
R/W  
P90  
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
0
6
5
4
3
2
X
-
1
X
-
0
PLLEN  
R/W-0  
CLK2  
R/W-0  
CLK1  
R/W-0  
CLK0  
R/W-0  
WDTEN  
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
1
1
1
1
1
1
1
0
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
32.768kHz 3.582MHz  
32.768kHz 3.582MHz  
32.768kHz 3.582MHz  
32.768kHz 3.582MHz  
32.768kHz 14.3MHz  
32.768kHz 14.3MHz  
32.768kHz 14.3MHz  
32.768kHz 14.3MHz  
3.582MHz (Normal mode)  
3.582MHz (Normal mode)  
3.582MHz (Normal mode)  
3.582MHz (Normal mode)  
14.3MHz (Normal mode)  
14.3MHz (Normal mode)  
14.3MHz (Normal mode)  
14.3MHz (Normal mode)  
32.768kHz (Green mode)  
don’t care don’t care don’t care 32.768kHz don’t care  
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.  
13  
2004/11/10 V2.6  
 复制成功!