Possibility to switch port to buffered mode Topic is solved

Technical questions regarding the XTC tools and programming with XMOS.
Post Reply
choll
Newbie
Posts: 1
Joined: Thu Oct 05, 2017 1:13 pm

Possibility to switch port to buffered mode

Post 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


View Solution
User avatar
mon2
XCore Legend
Posts: 1913
Joined: Thu Jun 10, 2010 11:43 am
Contact:

Post 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
Post Reply