Home > other >  MSP430F2001 pull up and down the resistance of configuration problems
MSP430F2001 pull up and down the resistance of configuration problems

Time:12-01

P2.7 and P2.6 configuration output, pull up and down can't make, is 2.1 V, output level but configured to output, make can pull up and down is the output of high level is 0.098 V,
why is this?
P2SEL & amp;=~ 0 XFF.//0 xc0;//bit function selection for input/output=0 pin
P2DIR=0 xc0;//P2.6, P2.7 pin output, other input
P2REN |=0 XFF;//can pull up and down to make
P2OUT=0 xc0;//1100 0000 0011 1111
P2IE & amp;=~ 0 XFF.
P2IFG & amp;=~ 0 XFF.

CodePudding user response:

Input mode is pulled up and down

CodePudding user response:

Don't pull up and down the configuration to output effect, cut into input will impact
  • Related