ArduinoMega 2560 PWM

Your specification is not clear. Can you draw a timing diagram of what you want?