Reading back clock speeds

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

What is the function for getting the system and peripheral clock speeds in ASF4?  

 

In ASF3, they were sysclk_get_main_hz() and sysclk_get_peripheral_hz(), but I can't seem to find the ASF4 counterpart.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I export a divided down PER clock on a pin using a counter/timer.  I wouldn't boot up without it.