CCS :: View topic - Triggering INT_EXT1 on H_TO_L
FAQ
Forum Help Profile
Official CCS Support
http://ccsinfo.com/forum/viewtopic.php?t=24370&highlight=int0...
Search
Log in to check your private messages
Register Log in
Triggering INT_EXT1 on H_TO_L CCS Forum Index -> General CCS C Discussion View previous topic :: View next topic Author Guest
Message Triggering INT_EXT1 on H_TO_L Posted: 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 Ttelmah Guest
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 Posts
Oldest First
CCS Forum Index -> General CCS C Discussion
Go All times are GMT - 6 Hours
Page 1 of 1 Jump to: General CCS C Discussion You can post new topics You can reply to topics You cannot edit your posts You cannot delete your posts You cannot vote in polls
Go in in in in in
this this this this this
forum forum forum forum forum
Powered by phpBB © 2001, 2005 phpBB Group
1 от 1
27.2.2007 г. 09:57