You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Fix for anomaly in micros() whwn the counter wrapped just before it was read
2. Specify timer configuration as constants to make micros() considerably faster
// specifying these details as constants makes micros() faster !
23
+
#define_timer_type AGT_TIMER
24
+
#define_timer_index0
25
+
#define_timer_underflow_bit R_AGT0->AGTCR_b.TUNDF
26
+
#define_timer_clock_divider TIMER_SOURCE_DIV_8 // dividers 1, 2, 4 and 8 work because _timer_period is < 16-bit. bug in R4 1.0.2: divider 4 acts as 1 !?
0 commit comments