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,122件の閲覧回数
wyj122793
Contributor II

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

1.jpg

ラベル(1)
2 返答(返信)

1,024件の閲覧回数
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,024件の閲覧回数
wyj122793
Contributor II

Thank you very much! 

0 件の賞賛
返信