Dear MSP430-Masters,
I need some help to clearly understand MSP430's datasheet and userguide about PxREN registers.
Well, starting from the beginning, from the userguide, writing 1 to PxREN.y enables the pullup/pulldown resistor of PORTx.y
Considering the datasheet, and to be more precise the logic diagram of PORTx, if I setup PORTx as OUTPUTS, and PxREN disabled, I have the feeling that pins are always floating, because it is not possible to separately enable the pullup and the pulldown. Am I right ? Did I missunderstood something ?
I'm asking this, because I would like to setup a pin with pull-down enabled, and pull-up disabled. I mean, when I write PORTx.y = 0, PORTx.y is tied to Vss, and when I write PORTx.y = 1, PORTx.y is floating.
Another question : What is the initial state of PxREN ? Userguide says "Reset after PUC" .. what does this mean ? 0xFF or 0x00 ?
Thanks for your help.