PSOC4的PWM输出占用的IO引脚是否可以做普通GPIO口?

公告

大中华汽车电子生态圈社区并入开发者社区- 更多资讯点击此

Tip / 登入 to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Moore_Zou_42099
Level 1
Level 1
Distributor - Future(GC)
First reply posted First question asked Welcome!

PSOC4在设置开启PWM模块应用占用某个IO引脚输出,一段时间后,由于不需要PWM功能,计划关掉PWM模块,让该占用的IO口做普通GPIO使用,是否可以实现?怎么实现?

0 点赞
1 解答
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

你可以按照链接文档对应的步骤,配置对应的寄存器,实现你想要的这个应用。:https://community.infineon.com/t5/Knowledge-Base-Articles/Control-GPIO-Output-After-Stopping-the-PWM...

在原帖中查看解决方案

0 点赞
1 回复
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

你可以按照链接文档对应的步骤,配置对应的寄存器,实现你想要的这个应用。:https://community.infineon.com/t5/Knowledge-Base-Articles/Control-GPIO-Output-After-Stopping-the-PWM...

0 点赞