Timer_A_initContinuousModeParam initContParam = {0}; initContParam.clockSource = TIMER_A_CLOCKSOURCE_SMCLK; initContParam.clockSourceDivider = TIMER_A_CLOCKSOURCE_DIVIDER_1; initContParam.timerInterruptEnable_TAIE = TIMER_A_TAIE_INTERRUPT_DISABLE; initContParam.timerClear = TIMER_A_DO_CLEAR; initContParam.startTimer = false; Timer_A_initContinuousMode(TIMER_A1_BASE, &initContParam);
如果您已经进行了此设置并想要使用 TACLK、请使用
initContParam.clockSource = TIMER_A_CLOCKSOURCE_SMCLK;
我是否应该将其更改为 initContParam.clockSource =TIMER_A_CLOCKSOURCE_EXTERNAL_TXCLK?
将时钟输入到引脚6" TA1CLK"是否可以?
此外、对于 TA0和 TIMER0_A0_VECTOR、计时器中断目标是 TIMER_A0_BASE
对于 TIMER_A1_BASE 和 TIMER1_A0_VECTOR、TA1是否正确?
最后、Timer1_A0_vector 和 Timer1_A1_vector 之间的区别是什么?