stm32/mphalport: Use MCU regs to detect if cycle counter is started.
Instead of using a dedicated variable in RAM it's simpler to use the relevant bits in the DWT register.
Showing
想要评论请 注册 或 登录
Instead of using a dedicated variable in RAM it's simpler to use the relevant bits in the DWT register.