| Electronic Components Datasheet Search |
|
STC12LE5616AD Datasheet(PDF) 264 Page - STCmicro Technology Co,.Ltd |
|
|
|||||||||||||||||||||||||||||
STC12LE5616AD Datasheet(HTML) 264 Page - STCmicro Technology Co,.Ltd |
|
264 / 377 page ![]() void main() { CCON = 0; //Initial PCA control register //PCA timer stop running //Clear CF flag //Clear all module interrupt flag CL = 0; //Reset PCA base timer CH = 0; CMOD = 0x02; //Set PCA timer clock source as Fosc/2 //Disable PCA timer overflow interrupt CCAP0H = CCAP0L = 0x80; //PWM0 port output 50% duty cycle square wave CCAPM0 = 0x42; //PCA module-0 work in 8-bit PWM mode //and no PCA interrupt CCAP1H = CCAP1L = 0xff; //PWM1 port output 0% duty cycle square wave PCAPWM1 = 0x03; CCAPM1 = 0x42; //PCA module-1 work in 8-bit PWM mode //and no PCA interrupt CR = 1; //PCA timer start run while (1); } 264 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |