You are on page 1of 1

CCS :: View topic - Triggering INT_EXT1 on H_TO_L http://ccsinfo.com/forum/viewtopic.php?t=24370&highlight=int0...

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_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 Posted: Mon Sep 12, 2005 10:31 am


Guest

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 Go

All times are GMT - 6 Hours


CCS Forum Index -> General CCS C Discussion

Page 1 of 1

Jump to: General CCS C Discussion Go

You can post new topics in this forum


You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group

1 от 1 27.2.2007 г. 09:57

You might also like