Upload
api-3755810
View
291
Download
0
Embed Size (px)
Citation preview
CCS :: View topic - Triggering INT_EXT1 on H_TO_L http://ccsinfo.com/forum/viewtopic.php?t=24370&highlight=int0...
1 от 1 27.2.2007 г. 09:57
FAQ Forum Help Official CCS Support Search Register
Profile Log in to check your private messages Log in
Triggering INT_EXT1 on H_TO_L
CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic
Author Message
Guest Triggering INT_EXT1 on H_TO_LPosted: Mon Sep 12, 2005 10:01 am
(sorry if this double posts, I got an error the first time and it didn't seem to go through)
I'm using an 18f452.
I already have INT_EXT set to trigger on H_TO_L using EXT_INT_EDGE() but it seems that
INT_EXT1 is set by default to trigger on L_TO_H. How would I go about changing INT_EXT1 to
trigger on H_TO_L? Is there a command like EXT_INT_EDGE() that I am missing?
Thanks
TtelmahGuest
Posted: Mon Sep 12, 2005 10:31 am
Have you read the manual entry for 'ext_int_edge'?. It supports a second variable, on chips that have more than one interrupt. So you just code:
EXT_INT_EDGE(0, H_TO_L); EXT_INT_EDGE(1, H_TO_L);
If the first value is omitted it sets the value for INT0.
Best Wishes
Display posts from previous: All PostsAll Posts Oldest FirstOldest First Go
CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1
Jump to: General CCS C DiscussionGeneral CCS C Discussion Go
You can post new topics in this forumYou can reply to topics in this forum
You cannot edit your posts in this forumYou cannot delete your posts in this forum
You cannot vote in polls in this forum
Powered by phpBB © 2001, 2005 phpBB Group