Write and test a C program that outputs a waveform that switches from 10.0 kHz with a 50% duty cycle to 25.0 kHz with a 5% duty cycle every 5 seconds. Your code design must contain initializations and program operations are to be performed by calling functions.