|
|
| Author |
Message |
spamiam
Joined: 13 Nov 2005
Posts: 665
|
|
Posted: 13 October 2006, 18:27 PM Post subject: Pin Change Interrupts |
|
|
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
|
|
| Back to top |
|
 |
spamiam
Joined: 13 Nov 2005
Posts: 665
|
|
Posted: 13 October 2006, 19:58 PM Post subject: |
|
|
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: |
|
|
| 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: |
|
|
I have used those "software" interrupts on several occasions. Very useful.
-Tony |
|
| Back to top |
|
 |
|