This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

GPIO setting, please help

Hi, everyone,

 

This refers to CC253x System-on-Chip Solution for 2.4 GHz IEEE 802.15.4 and ZigBee® Applications User's Guide, Pg81-84,

 

when P1SEL bit set to 0, the pin is a general IO pin

When P1DIR bit set to 0, it' a input, otherwise it's a output

 

My question is, when P1INP bit set to 1 and P1DIR bit set to input, is it disable the pull-up/ pull-down function?

 

When the P1DIR bit set to output, and P1INP bit set to 1, is it refer to a tri-state output pin? if yes, how to set to the High-Z mode?

 

Thank you very much.