analogdevicesinc / no-OS

Software drivers in C for systems without an operating system
http://analogdevicesinc.github.io/no-OS/
Other
874 stars 1.63k forks source link

platform: maxim: add timer support for max32670 #2174

Closed jsanbuen closed 1 month ago

jsanbuen commented 2 months ago

max32670 has similarities with 32655/32690/7800. checked w/ SDK API's as well

Pull Request Description

adding timer platform driver support for max32670. Upon checking, max32655, 32690, 78000, and 32670 have similar implementation i.e., cfg parameters based on SDK codes. The code for max32670 timer platform driver is based on max32690 platform driver implementation.

PR Type

PR Checklist

jsanbuen commented 2 months ago

just some small remarks from my side, I did not check the register map to make sure everything is in order. has this been tested properly?

Timer platform driver implementation was used on an example project we are working on and results show that it works as expected. No build errors were encountered.

jsanbuen commented 1 month ago

changelog: -added const keyword in timer init param argument for timer_init function