Smartpins and edge events
ozpropdev
Posts: 2,793
in Propeller 2
Chip
Currently we check the INx bit of the relevant smartpin to evaluate the status of the pin.
This can be done simply with TESTB and also can be captured by the streamer.
We also have the SETEDG instruction which is very nice but appears to not work with smartpins.
It would be useful to setup a smartpin as a async receiver and generate an interrupt when data is available.
Was connecting the edge detector logic to smartpins too costly in logic and/or too complex?
Just curious.
Currently we check the INx bit of the relevant smartpin to evaluate the status of the pin.
This can be done simply with TESTB and also can be captured by the streamer.
We also have the SETEDG instruction which is very nice but appears to not work with smartpins.
It would be useful to setup a smartpin as a async receiver and generate an interrupt when data is available.
Was connecting the edge detector logic to smartpins too costly in logic and/or too complex?
Just curious.
Comments
Forgot PINACK
Thanks Chip.