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.

MSP430FR5994 Launchpad Development Kit 实例程序OutOfBox_MSP430FR5994

Expert 2115 points
Other Parts Discussed in Thread: MSP430FR5994

MSP430FR5994 Launchpad Development Kit 实例程序OutOfBox_MSP430FR5994中的Time_A   5S定时如何计算出来的?

配置代码如下(ACLK为 8M):

param.clockSource = TIMER_A_CLOCKSOURCE_ACLK;
param.clockSourceDivider = TIMER_A_CLOCKSOURCE_DIVIDER_1;
param.timerPeriod = 13;
param.timerInterruptEnable_TAIE = TIMER_A_TAIE_INTERRUPT_DISABLE;
param.captureCompareInterruptEnable_CCR0_CCIE = TIMER_A_CCIE_CCR0_INTERRUPT_ENABLE;
param.timerClear = TIMER_A_DO_CLEAR;
param.startTimer = true;
Timer_A_initUpMode(TIMER_A0_BASE, &param);

x 出现错误。请重试或与管理员联系。