/* Get timer capability. 
This function returns various capabilities/attributes of a timer */
uint32_t tmrHw_getTimerCapability(tmrHw_ID_t timerId, tmrHw_CAPABILITY_e capability)
/* Get timer capability. 
This function returns various capabilities/attributes of a timer */
uint32_t tmrHw_getTimerCapability(tmrHw_ID_t timerId, tmrHw_CAPABILITY_e capability)
{
	switch (capability) {
	case tmrHw_CAPABILITY_CLOCK:
		return (timerId <=
			1) ? tmrHw_LOW_RESOLUTION_CLOCK :
		    tmrHw_HIGH_RESOLUTION_CLOCK;
	case tmrHw_CAPABILITY_RESOLUTION:
		return 32;
	default:
		return 0;
	}
	return 0;
}