Forum Index
HomeZBasic Home   Forum RulesForum Rules   Forum FAQForum FAQ   MemberlistMemberlist   UsergroupsUsergroups   RSS FeedRSS Feed
Site SearchSite Search   LinksLinks   DownloadDownload   Digests and SubscriptionsDigests and Subscriptions
ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in   RegisterRegister
Pin Change Interrupts

 
Post new topic   Reply to topic    Forum Index -> ZBasic Language
Author Message
spamiam



Joined: 13 Nov 2005
Posts: 665

Posted: 13 October 2006, 18:27 PM    Post subject: Pin Change Interrupts Reply with quote

Does ZBasic have the capability to handle the Pin Change interrupts that are available of the M644 processor used in the ZX-24A?

-Tony
Back to top
dkinzer
Site Admin


Joined: 03 Sep 2005
Posts: 2499
Location: Portland, OR

Posted: 13 October 2006, 19:35 PM    Post subject: Reply with quote

Yes. See WaitForInterrupt().
Back to top
spamiam



Joined: 13 Nov 2005
Posts: 665

Posted: 13 October 2006, 19:58 PM    Post subject: Reply with quote

Ah, excellent.

Is there any protection from enabling PCInts on the pins that run the SPI bus?

I suppose there MIGHT be some use to having an interrupt occur on SPI activity, but I really doubt it.

-Tony
Back to top
dkinzer
Site Admin


Joined: 03 Sep 2005
Posts: 2499
Location: Portland, OR

Posted: 13 October 2006, 20:08 PM    Post subject: Reply with quote

spamiam wrote:
Is there any protection from enabling PCInts on the pins that run the SPI bus?

None whatsoever. Nor is there any protection from enabling a pin change interrupt any other pin that is an output. That may be useful, effectively implementing a "software interrupt".
Back to top
spamiam



Joined: 13 Nov 2005
Posts: 665

Posted: 13 October 2006, 20:45 PM    Post subject: Reply with quote

I have used those "software" interrupts on several occasions. Very useful.

-Tony
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> ZBasic Language Time synchro. with the server - Timezone/DST with your computer
Page 1 of 1

 


All content Copyright © 2005-2012 Elba Corp. All Rights Reserved.
Opinions expressed in posts are those of the author and not necessarily those of Elba Corp.
Powered by phpBB © 2001, 2005 phpBB Group