This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TI-RTOS示例程序 gpiointerrupt_MSP_EXP430FR5994_TI 问题

Expert 2115 points


TI-RTOS示例程序 gpiointerrupt_MSP_EXP430FR5994_TI中  GPIO_write(Board_LED0, Board_LED_ON);函数应该是让P1.0输出高电平,但是Board_LED0是怎么映射到P1.0的 ?通过查看定义只能知道其映射到下面这个枚举变量的MSP_EXP430FR5994_LED1变量。

typedef enum MSP_EXP430FR5994_GPIOName {
    MSP_EXP430FR5994_S1 = 0,
    MSP_EXP430FR5994_S2,
    MSP_EXP430FR5994_LED1,
    MSP_EXP430FR5994_LED2,
    MSP_EXP430FR5994_GPIOCOUNT
} MSP_EXP430FR5994_GPIOName;
gpiointerrupt_MSP_EXP430FR5994_TI.rar