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.

pwm,一个小问题



M1PWM0的基址是PWM1_BASE吗?基址是指发生器吗例如基址是PWM3_BASE?资料里说有4个pwm发生器PWM_GEN_0~3对应PWM0~7
而头文件里只定义有俩基址

#define PWM0_BASE               0x40028000  // Pulse Width Modulator (PWM)
#define PWM1_BASE               0x40029000  // Pulse Width Modulator (PWM)

4个pwm发生器PWM_GEN_0~3怎么对应的??
外设定义里也是
#define SYSCTL_PERIPH_PWM0      0xf0004000  // PWM 0
#define SYSCTL_PERIPH_PWM1      0xf0004001  // PWM 1

这里又是指什么