That is I commented out all of the:
p->CTRL |= FLEXIO_CTRL_SWRST;
Lines, so it does not consistently reset the Flexio object. So other objects might work on same flexio...
Code in place also, that if I am already in that mode don't need to do anything.
Updated the read and write single... to clear out the others settings.
So far it appears to work.
Added Debug code under #ifdef DEBUG and the like.
Turned off... also DEBUG_FLEXIO, which has a function to print out flexio configuration, like:
That is I commented out all of the: p->CTRL |= FLEXIO_CTRL_SWRST; Lines, so it does not consistently reset the Flexio object. So other objects might work on same flexio...
Code in place also, that if I am already in that mode don't need to do anything.
Updated the read and write single... to clear out the others settings.
So far it appears to work.
Added Debug code under #ifdef DEBUG and the like. Turned off... also DEBUG_FLEXIO, which has a function to print out flexio configuration, like: