I configure timer3 timer_B in PWM Timing mode for out put PWM,when it is Enable,the pin our put pwm wave which period and dutycycle have been set befor enable.
but I want to adjusted PWM period when it is running.
so I use ROM_TimerLoadSet() to set period,but "Description:This function configures the timer load value; if the timer is running then the value is immediately loaded into the timer." and it change time value immediately.
the datasheet have description"In PWM Timing mode, the timer continues running after the PWM signal has been generated. The PWM period can be adjusted at any time by writing the GPTMTnILR register, and the change takes effect at the next cycle after the write."
so,how can I do this?which function should be called?