Hi, In the etpu-set4 pwmmac sample application half-cycle reload option is specified. Where can I find more details of when cycle reload is typically used?
Is there an application note that demonstrates how to invoke and use the pwmmac functions?
Refer the attached etpuc_pwmmac.c, the specific section shown below:
//====== begin excerpt
else if ( (m2 == 1) && (flag0 == 1) )
{
.....
// set channelX half-cycle reload flag
tmp_half_reload_flag__master_chan = 0x800000 + GetCurrentChanNum()
......
goto PWMMAC_RELOAD;
}
//=============== end excerpt
The param 'tmp_half_reload_flag__master_chan' appears to be a flag but is manipulated using channel number. What is rationale behind this?
Thank you for taking time to clarify.
Best, JR