USB_DeviceIsrDisable function not generated from MCUExpresso

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

USB_DeviceIsrDisable function not generated from MCUExpresso

跳至解决方案
2,138 次查看
ingdb
Contributor III

Hello all,

I am generating code for a CDC VCOM (bare metal) USB interface on a RT1171 platform and it seems as if the USB_DeviceIsrDisable function is not generated. Is that a bug of the code generator or is there a technical reason?

 

Best regards

Matthias

0 项奖励
回复
1 解答
2,104 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi @ingdb ,

Because the function below is enough to disable any IRQ.

DisableIRQ((IRQn_Type)irqNumber);

 

Regards,

Jing

在原帖中查看解决方案

0 项奖励
回复
3 回复数
2,133 次查看
jingpan
NXP TechSupport
NXP TechSupport
0 项奖励
回复
2,126 次查看
ingdb
Contributor III

Hi Jing,

 

thanks for your help but I think this is a different topic. All I wanted to ask/say is why isn't there any USB_DeviceIsrDisable API function for the RT1176 generated.

 

best regards

Matthias

0 项奖励
回复
2,105 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi @ingdb ,

Because the function below is enough to disable any IRQ.

DisableIRQ((IRQn_Type)irqNumber);

 

Regards,

Jing

0 项奖励
回复