imx53 pwm 寄存器

来源:互联网 发布:win7 32位 tensorflow 编辑:程序博客网 时间:2024/06/13 13:51

PWMx_PWMCR:(27–26 FWM )FIFO Water Mark;(21 BCTR) Byte Data Swap Contro (17–16 CLKSRC) (0 EN)

 PWMx_PWMSR: Status Register     (6 FWE) FIFO Write Error Status  4 ROV   Roll-over Status.  3 FE   FIFO Empty Status Bit.

                                                                2–0  FIFOAV   FIFO Available.

PWM Interrupt Register (PWMx_PWMIR)   2  CIE  Compare Interrupt Enable.   1 RIE Roll-over Interrupt Enable.

                                                                     0 FIE   FIFO Empty Interrupt Enable

PWM Sample Register (PWMx_PWMSAR) :  is the input to the 4* 16 bit FIFO ,必须小于PERIOD + 1

PWM Period Register (PWMx_PWMPR):   PWMO (Hz) = PCLK(Hz) / (period +2)

PWM Counter Register (PWMx_PWMCNR) : The read-only pulse-width modulator counter register

原创粉丝点击