sparkfun / Arduino_Apollo3

Arduino core to support the Apollo3 microcontroller from Ambiq Micro
83 stars 39 forks source link

add some examples of how to use the times in core v1? #450

Closed jerabaul29 closed 2 years ago

jerabaul29 commented 2 years ago

It would be very helpful to have a few examples on how to use the timers on core v1 (guess it would be available also on core v2 in the same way, though MBedOS may already provide some high level interface to these (?) ), in particular for users who are not too good with the low level aspects and may need an example to be able to understand the datasheet.

Things like:

All I can found of "high level examples" so far are: (if you have some more references, please let me know :) ):

It would be really amazing if there could be a couple more examples to cover these aspects :) .

Wenn0101 commented 2 years ago

Unfortunately, I don't know if I will be able to commit the time to add more examples to the v1 core. If you are able to put together an example I would accept the pull request tho!