creating 50khz or other in that range PWM signal using arduino due

Can some one please help me how to create a PWM signal using DUE for my power electronics project ,with a switching frequency of 50Khz ,with 50% duty cycle (how to change it in program to other duty ratio), I think ,timer has to be used. ..and the second important consideration is , to generate two such signals,phase shifted by 180 degrees.

do I need to install any separate libraries for that ?? ..please give the links of sample programs if available.

:D thanx in advance.

Trying searching the forums with “Due PWM” (the double quotes are needed).