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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,129 次查看
wyj122793
Contributor II

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

1.jpg

标签 (1)
2 回复数

1,031 次查看
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 

1,031 次查看
wyj122793
Contributor II

Thank you very much! 

0 项奖励
回复