how to select the submodule[2]of flexpwm module using sdk for 5744P ?
Hi,
submodule is not selected within flexpwm component. In this component you just define configuration parameters, those are then reflected in configuration structures (here flexPWM1_ModuleSetup0, flexPWM1_SignalSetup0) and used later in code to setup submodule using function
FLEXPWM_DRV_SetupPwm(INST_FLEXPWM1, 0U, &flexPWM1_ModuleSetup0, &flexPWM1_SignalSetup0);
The second parameter is submodule number.
BR, Petr
Thank you very much!