I/O Master Logic
Vega256
Posts: 197
Hey Guys,
According to the manual, to avoid I/O bus contention, the Propeller's I/O system is mapped such that,
"A pin is an input only of no active cog sets it to an output.
A pin is an output if any active cog sets it to an output."
So, what will happen if Cog 0 sets a pin or group of pins to an output and then tries to set them as an input?
According to the manual, to avoid I/O bus contention, the Propeller's I/O system is mapped such that,
"A pin is an input only of no active cog sets it to an output.
A pin is an output if any active cog sets it to an output."
So, what will happen if Cog 0 sets a pin or group of pins to an output and then tries to set them as an input?
Comments
So, to answer your question, if Cog 0 sets a pin to be an output, it can reset it to be an input any time it wants.
-Phil