Part Number: TM4C1294NCPDT
this is my code:
void Timer1_Capture_Config(void){
SysCtlPeripheralEnable(SYSCTL_PERIPH_TIMER1); //使能TIMER0 32位(TIMER0A16位+TIMER0B16位)
SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOA);
SysCtlDelay(200);
GPIOPinTypeGPIOInput(GPIO_PORTA_BASE, GPIO_PIN_3);
GPIOPinConfigure(GPIO_PA3_T1CCP1); //#define GPIO_PC4_WT0CCP0 0x00021007
GPIOPinTypeTimer(GPIO_PORTA_BASE, GPIO_PIN_3);
TimerConfigure(TIMER1_BASE,TIMER_CFG_B_CAP_TIME_UP|TIMER_CFG_SPLIT_PAIR);
TimerControlEvent(TIMER1_BASE,TIMER_B,TIMER_EVENT_POS_EDGE);
TimerEnable(TIMER1_BASE, TIMER_B);
TimerPrescaleSet(TIMER0_BASE, TIMER_B, 24);
ROM_TimerLoadSet(TIMER0_BASE, TIMER_B, 624);
IntEnable(INT_TIMER1B);
TimerIntEnable(TIMER1_BASE, TIMER_CAPB_EVENT);
IntMasterEnable();
//master interrupt enable API for all interrupts
}
i cannot enter my interrupt