结果已经在这里了,好也没有什么可说的,可是这与TI的手册中P1口的原理图描述是不同的,
原理图中P1REN好像没有影响P1OUT。
8.2.2 Output Registers PxOUT
Each bit in each PxOUT register is the value to be output on the corresponding
I/O pin when the pin is configured as I/O function, output direction, and the
pull-up/down resistor is disa××ed.
Bit = 0: The output is low
Bit = 1: The output is high
If the pin’s pull?up/down resistor is ena××ed, the corresponding bit in the
PxOUT register selects pull-up or pull-down.
Bit = 0: The pin is pulled down