Quantcast
Channel: Renesas Synergy Platform
Viewing all articles
Browse latest Browse all 23645

Forum Post: RE: r_gpt counting issue

$
0
0
Hello Rich, The resolution and period you configure in the driver properties, applies to overflow value. counterGet provides current value of TCNT regiser which is stored in PLCKD ticks (120MHz on S7G2 by default). If you'd like value in micro/milli/seconds then you should divide it accordingly. You can also use CGC call to determine current PCLKD frequency: g_cgc.p_api- systemClockFreqGet(CGC_SYSTEM_CLOCKS_PCLKD, &ret); Regards

Viewing all articles
Browse latest Browse all 23645

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>