|
发表于 2012-6-13 23:27:50
|
显示全部楼层
MSP430 Family User's Guide提到:
10.2.8 Configuring Unused Port Pins
Unused I/O pins should be configured as I/O function, output direction, and left unconnected on the PC
board, to prevent a floating input and reduce power consumption. The value of the PxOUT bit is don't
care, because the pin is unconnected. Alternatively, the integrated pullup/pulldown resistor can be enabled
by setting the PxREN bit of the unused pin to prevent the floating input. See the SYS chapter for
termination of unused pins. |
|