Using Ambiq Micro Apollo1 or Apollo2 MCUs CTIMER as PWM
![](https://i0.wp.com/blog.io-expert.com/wp-content/uploads/2017/06/PWM.png?fit=300%2C155&ssl=1)
A Pulse Width Modelation (PWM) has a duty and a cycle. The duty can be something between 0% and 100% of the cycle time. For Ambiq Micro the CTIMER peripheral can be used to generate a PWM. GPIO setup First of all the GPIOs have to be set, see also Using GPIOs for more details. The … [Read more…]