My project has a high frequency interrupt which I need to profile.
I want to use a high frequency tick to do the profiling.
The API for clock
AM263Px MCU+ SDK: APIs for Clock (ti.com)
... says that:
"ClockP_getTimeUsec shouldn't be called from an ISR with priority higher than that of Tick Interrupt"
Is the value of ClockP_getTimeUsec() safe if the return value is treated as a uint32_t?
(If not) Can you suggest an ISR-safe function for getting a high resolution tick?
Ideas:
RTI
ARM Cortex-R5 PMCR.D (Performance Monitor Control Register)


