At the bottom of the module datasheet are the registers you can direct write
to change values. The naming convention for the specific register can be found in
the TRM, in the register chapter. There the specific register bits and layout are des-
cribed. Pay particular attention to effects of writes, eg. need to stop something,
You can also find register addresses in PWM16.h, register names in m8c.h
You can use two PWMs, PWM1 with a fix period of 2.5ms and a pulse width of 0.5ms. With the compare output trigger PWM2 which has 0.5 to 1.5ms. the actual ouput is PWM1 OR PWM2 The loading of the 2nd PWM should be done during the first 0.5ms pulse of PWM1.