Internal pullup for input capture - 908QY4 and 9S08SH8

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Internal pullup for input capture - 908QY4 and 9S08SH8

1,786 次查看
RobG
Contributor II
I understand that the internal pullup resistor is not available when using input capture function on 908QY4A. Does this also apply to the 9S08SH8? Should be a simple thing to test but I have not got the hardware yet.
 
Rob
 
 
 
 
 
 
 
 
 
Added part numbers to subject.


Message Edited by NLFSJ on 2008-05-04 11:23 PM
标签 (1)
0 项奖励
回复
2 回复数

766 次查看
fabio
Contributor IV
Hi Rob G,

The new SH devices include a port interrupt circuitry which is very similar to the keyboard interrupt module. One of the differences between these two modules is the hability to control the pulling devices independently (no matter they are enabled as port interrupt sources or not).

All you have to do is to enable the respective PTxPE bit and select the desired pulling device through PTxES (1 = pull-up, 0 = pull-down).

Best regards,
0 项奖励
回复

766 次查看
RobG
Contributor II
Thanks Fabio, that's a nice improvement over HC08.
 
Regards
Rob
 
b.t.w. Congratulations on your new book. I've had a copy for a couple of weeks. I haven't had time to do more than have a quick look but it looks to be very comprehensive and will be a great resource for beginners and more experienced designers alike.
 
 
0 项奖励
回复