Hello,
We don’t have an example code, but it should not be difficult.
The name of PWM0-1 registers are the same but they have different addresses. If you look at the S12ZVL128.h header file, you will see that all registers are mapped.
For instance, instead of enable channel 1: PWME_PWME1, there are PWM0E_PWME1, PWM1E_PWME1.
I think you can use 8-bit as well, for example PMW0_ch1 or PMW0_ch3 but not PMW0_ch2 because this channel is not routed to a port.
The example code I attached previously shows how to concatenate two channels.
For PWM0_Ch01 it will be:
PWM0CTL_CON01 = 1;
For PWM1_Ch01:
PWM1CTL_CON01 = 1;
In this case, channels 0 becomes high order byte of the timer,
channels 1 are used for control determination (clock, polarity, alignment, enablement).
I hope it helps.
Regards,
Daniel