how to seleck the submodue2 of the flexpwm module using sdk for 5744P

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to seleck the submodue2 of the flexpwm module using sdk for 5744P

745 Views
wyj122793
Contributor II

how to select the submodule[2]of flexpwm module using sdk for 5744P ?

1.jpg

Labels (1)
2 Replies

647 Views
PetrS
NXP TechSupport
NXP TechSupport

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 

647 Views
wyj122793
Contributor II

Thank you very much! 

0 Kudos
Reply