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.

TM4C123 Input capture maximum count value 2^24 or 2^32?



Hello

I am measuring time using wide timer. 

but i am having problem understanding how deep is the timer 2^24 or 2^32?

	SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOC);
	GPIOPinTypeTimer(GPIO_PORTC_BASE, GPIO_PIN_4);
	GPIOPinConfigure(GPIO_PC4_WT0CCP0);

	SysCtlPeripheralEnable(SYSCTL_PERIPH_WTIMER0);
        TimerConfigure(WTIMER0_BASE, TIMER_CFG_SPLIT_PAIR | TIMER_CFG_A_CAP_TIME_UP);
	TimerControlEvent(WTIMER0_BASE, TIMER_A, TIMER_EVENT_POS_EDGE);
	TimerIntEnable(WTIMER0_BASE, TIMER_CAPA_EVENT);
	TimerIntClear(WTIMER0_BASE, TIMER_CAPA_EVENT);
	IntEnable(INT_WTIMER0A);
	TimerEnable(WTIMER0_BASE, TIMER_A);

In this case the maximum counter value will be 2^32? when i get the value at the interrupt service?

TimerIntClear(WTIMER0_BASE, TIMER_CAPA_EVENT);
period_value = TimerValueGet(WTIMER0_BASE, TIMER_A);

thanks in advance.