Following IMX6DQRM.PDF
// disable
control= 0;
m_ctlReg.SetValue( control);
// peripheral clock
control |= 1<<6;
m_ctlReg.SetValue( control);
// software reset
control |= (1<<15);
m_ctlReg.SetValue( control);
while( (m_ctlReg.GetValue()&(1<<15)) != 0 );
// remove SWR bit
control &= ~(1<<15);
// Status reset
m_statusReg.SetValue(0x0000003F);
// ENMOD, resets counter & prescaler
control |= 2;
m_ctlReg.SetValue(control);
// start
control |= 1;
m_ctlReg.SetValue(control);
Counter counts.