Page 1 of 1

Possibility to switch port to buffered mode

Posted: Fri May 25, 2018 11:18 am
by choll
Hi,

Is there a possibility to declare a port as port. And switch to buffered in or out (and back to port) later in the program?
Is there a command for that or does that have to be done with assembler?

Regards,

Christian

Re: Possibility to switch port to buffered mode

Posted: Fri May 25, 2018 12:48 pm
by mon2
Consider to:

a) declare a buffered port

b) use the buffered port as-is

c) when you wish to use the buffered port as a standard unbuffered port, prime your data inside the buffer (FIFO) offsets to behave accordingly

Re: Possibility to switch port to buffered mode

Posted: Mon May 28, 2018 9:45 am
by infiniteimprobability