| ??? 01/16/01 19:28 Read: times |
#8261 - RE: reg generation of PWM is concerned |
I have used the 80C51FA CPU that has a PCA timer. The PCA supports a PWM mode that can be set up by the following:
MOV CMOD,#0 ; 1 Microsecond TIMEBASE @ 12 Mhz MOV CCAPM0,#42H ; MODULE 0 IN PWM MODE MOV CCAP0H,#128 ; 50% DUTY CYCLE SETB CR ; START THE PCA TIMER That's it. No additional timers, no interrupts, no CPU overhead. |
| Topic | Author | Date |
| reg generation of PWM is concerned | 01/01/70 00:00 | |
| RE: reg generation of PWM is concerned | 01/01/70 00:00 | |
| RE: reg generation of PWM is concerned | 01/01/70 00:00 | |
RE: reg generation of PWM is concerned | 01/01/70 00:00 |



