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.
可以使用GPxDat寄存器读取到当前已被配置为pwm功能的引脚的输出电平状态,if(GpioDataRegs.GPxDAT.bit.GPIOy==0)表示低电平,1表示高电平
但不能通过GPio组寄存器反转电平状态