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

EM78P257B 参数 Datasheet PDF下载

EM78P257B图片预览
型号: EM78P257B
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-BIT MICROCONTROLLER]
分类和应用: 微控制器
文件页数/大小: 91 页 / 1917 K
品牌: ELAN [ ELAN MICROELECTRONICS CORP ]
 浏览型号EM78P257B的Datasheet PDF文件第50页浏览型号EM78P257B的Datasheet PDF文件第51页浏览型号EM78P257B的Datasheet PDF文件第52页浏览型号EM78P257B的Datasheet PDF文件第53页浏览型号EM78P257B的Datasheet PDF文件第55页浏览型号EM78P257B的Datasheet PDF文件第56页浏览型号EM78P257B的Datasheet PDF文件第57页浏览型号EM78P257B的Datasheet PDF文件第58页  
EM78P257  
OTP ROM  
MOUSEN  
Z1(TCC5)  
VCC  
+
C5  
4.5R  
MOUSEN  
-
After MCU process  
send data to PC  
R
15K  
TCCC(UP/DOWN Counter)  
MOUSEN  
Z2(TCC6)  
VCC  
+
C6  
-
4.5R  
R
15K  
Fig. 25 Mouse Function Diagram  
2. Function Description  
The following describes the function of each block and signal of Fig.25 depicting how to complete a Mouse  
function.  
P61/X1  
P66/X2  
P51/Y1  
P50/Y2  
P56/Z1  
Use current comparator to measure photo-couples “ ON” ,or “ OFF” .  
Four photo-couple singles denoting UP, DOWN, LEFT, and RIGHT states.  
During scanning period, as long as the photo-couples state changes, the value of  
vertical or horizontal counter will increase or decrease accordingly.  
Z-axis inputs.  
P57/Z2  
Photo mode: Current comparator input.  
Comparator  
Counter  
Output level is decided by comparing the value of its two (+,-) pins.  
Recording the horizontal, vertical, or rolling shifting values.  
3. Programming the Related Registers  
When defining MOUSE mode, refer to the related register of its operation as shown in the Table 21 and Table 22  
below.  
Table 21 Related Control Registers of the MOUSE Mode  
Address  
Name  
CONT  
Bit 7  
Bit 6  
Bit 5  
TS/0  
Bit 4  
TE/0  
Bit 3  
Bit 2  
Bit1  
Bit 0  
INTE/0  
INT/0  
0
0
0
0
0
PSR2/0  
0
PSR1/0  
0
PSR0/0  
0
0X08 *INTC/IOC80 TCC2E/0 TCC4E/0 TCC6E/0 TCCBE/0  
0x0A  
0X0B  
0X0E  
TCR(1)/RA  
TCR(2)/RB  
MCR/RE  
0
0
0
0
0
TCCAIE/0 TCCATS/0 TCCATE/0  
TCCCIE/0 TCCCTS/0 TCCCTE/0  
TCCBIE/0 TCCBTS/0 TCCBTE/0  
MOUSEN/0  
0
0
0
0
0
0
<Note> *Bit name/initial value  
Table 22 Related Status/Data Register of the MOUSE Mode  
Address  
Name  
Bit 7  
Bit 6  
Bit 5  
54  
Bit 4  
Bit 3  
Bit 2  
Bit1  
Bit 0  
This specification is subject to change without prior notice.  
07.27.2004 (V1.4)  
 复制成功!