16位 MSP430FR2353 芯片P1.7引脚配置成VREF+输出2.5V 如何配置?
下面是我的配置
// to activate previously configured port settings
P1SEL0 |= BIT7;
P1SEL1 |= BIT7;
// Configure reference module
PMMCTL0_H = PMMPW_H; // Unlock the PMM registers
PMMCTL2 = INTREFEN | REFVSEL_2 | EXTREFEN_1; // Enable internal 2.5V reference