微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI WIFI设计交流 > 请问如何在CC3200 PWM输出低电平时进入中断处理程序?

请问如何在CC3200 PWM输出低电平时进入中断处理程序?

时间:10-02 整理:3721RD 点击:

请问如何在CC3200 PMW输出低电平时进入中断处理程序?使用PIN17作为PWM输出引脚

我看到手册里有些The timer is capable of generating interrupts based on three types of events: rising edge, falling edge, or both. The event is configured by the TnEVENT field of the GPTMCTL register, and the interrupt is enabled by setting the TnPWMIE bit in the GPTMTnMR register.

这个是只有捕捉信号才会产生中断吗?我现在需要在PWM输出低电平时进入中断处理程序,并且在PWM输出高电平时推出处理程序,请问有什么方法来完成这个功能?谢谢

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top