How to use timer to output 2 way phase opposite PWM signal

2 posts / 0 new
Last post
Liushax
Offline
Last seen:2 years 6 months ago
加入:2016-03-09 03:00
How to use timer to output 2 way phase opposite PWM signal

Hi,

How to use timer to output 2 way phase opposite PWM signal? I want use two GPIO to driver Buzzer.
For example, I want one PWM output: (0, 1, 1, 0) signal when another PWM output (1, 0, 0, 1). This will make buzzer sound more loudly;

thanks.

Keywords:
Device:
Gongyu_Dialog
Offline
Last seen:1 week 3 days ago
加入:2016-04-27 07:07
可以遵循的例子吗

可以遵循的例子吗\peripheral_examples\timer2\timer2_pwm\src\main.c
Function timer2_test