I am new to tk1 board. I need a hardware based reliable periodic timer. is there an example driver or sample code to use Nvidia timer (TMR). copied from TRM, looking for some sample code -
NVIDIA Timers (TMR)
The programmable timer block contains ten 29-bit programmable timer counters and one 32-bit timestamp counter.
Timer interval, one-shot, or periodic interrupts are configured in the Timer Present Value register (PTV). When enabled, the timer loads the Timer Present Value count and begins decrementing every one microsecond. The timer generates a timer request when the count reaches zero.