How to set counter synchronization for the PWM in the NuMicro? M451 series?

Post Reply
a_ziliu
Posts: 116
Joined: 20 Mar 2017, 10:52

27 Mar 2017, 14:31

After completing the required PWM settings, add the following code:
/* Enable PWM0, PWM2, PWM4 Timer Synchronous */
PWM_ENABLE_TIMER_SYNC(PWM0, BIT0|BIT2|BIT4);

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest