This is the documentation for the latest (main) development branch of mcuxpresso sdk. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

ctimer_pwm_interrupt_example

Overview

The Simple PWM Interrupt project is to demonstrate usage of the SDK CTimer driver as a PWM with interrupt callback functions In this example an IO pin connected to the LED is used as a PWM output line to generate a PWM signal. With an interrupt callback the PWM duty cycle is changed frequently in such a way that the LED brightness can be varied.

Supported Boards