GPIO_setAsOutputPin(uint8_t selectedPort, uint16_t selectedPins);//把这个引脚设置为输出引脚
GPIO_setAsInputPin(uint8_t selectedPort, uint16_t selectedPins);//把这个引脚设置为输入引脚
GPIO_setAsInputPinWithPullDownResistor(uint8_t selectedPort, uint16_t selectedPins);
//设置为下拉电阻输入
GPIO_setAsInputPinWithPullUpResistor(uint8_t selectedPort, uint16_t selectedPins);
设置为上拉电阻输入
GPIO_setDriveStrength(uint8_t selectedPort, uint16_t selectedPins, uint8_t
driveStrength);
//设置驱动能力
GPIO_setAsPeripheralModuleFunctionOutputPin(uint8_t selectedPort, uint16_t
selectedPins);
//设置为外设输出
GPIO_setAsPeripheralModuleFunctionInputPin(uint8_t selectedPort, uint16_t
selectedPins);
//设置为输入外设
GPIO_setOutputHighOnPin(uint8_t selectedPort, uint16_t selectedPins);
//将这个输出引脚置高
GPIO_setOutputLowOnPin(uint8_t selectedPort, uint16_t selectedPins);
//将这个输出引脚置低
GPIO_toggleOutputOnPin(uint8_t selectedPort, uint16_t selectedPins);
//将这个输出引脚反转
GPIO_getInputPinValue(uint8_t selectedPort, uint16_t selectedPins);
//取这个引脚电平
MSP430F5529的LED0对应引脚P1.0 LED1对应引脚4.7