This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
我可以同时使用外设和 GPIO 吗?
例如、我需要计时器 WT5A 并已将其配置为 ADC 触发器。
是否可以配置 GPIO 端口 PD6并将其用作 GPIO 输出?
下一个示例将计时器 WT5B 配置为 OneShoot 计时器。
我可以将 GPIO 端口 PD7配置为输出吗?
您好!
例如、我需要计时器 WT5A 并已将其配置为 ADC 触发器。
是否可以配置 GPIO 端口 PD6并将其用作 GPIO 输出?
[/报价]要用作 ADC 触发器、必须将定时器配置为单次触发或周期超时模式。 在这种情况下、不会将 PD6用作捕获/比较/PWM 引脚。 因此、您可以将 PD6用作 GPIO。
WT5B 也是如此。