pru: The TMR_CNT is cleared by writing all ones

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2019-03-31 13:48:50 -04:00
parent 72d0c770d3
commit d1eefba453
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ timer_init(void)
{
CT_IEP.TMR_CMP_CFG = 0x01 << 1;
CT_IEP.TMR_GLB_CFG = 0x11;
CT_IEP.TMR_CNT = 0;
CT_IEP.TMR_CNT = 0xffffffff;
timer_kick();
}
DECL_INIT(timer_init);