Change PWM frequency Arduino Due


Ive been to multiple threads but can't seem to get a solid answer.

I'm using a DUE to control a MOSFET in a DC-DC converter, and am looking to increase the PWM frequency on a couple pins to 200 KHz.

I also want to be able to change the duty cycle constantly in code.

I was just wondering how to increase the frequency while maintaining duty control?