| Electronic Components Datasheet Search |
|
STC12LE5616AD Datasheet(PDF) 190 Page - STCmicro Technology Co,.Ltd |
|
|
|||||||||||||||||||||||||||||
STC12LE5616AD Datasheet(HTML) 190 Page - STCmicro Technology Co,.Ltd |
|
190 / 377 page ![]() #ifdef MODE 1T F38_4KHz EQU 010H ;38.4KHz frequency calculation method of 1T mode is (256-18432000/2/38400) #else F38_4KHz EQU 0ECH ;38.4KHz frequency calculation method of 12T mode (256-18432000/2/12/38400) #endif ;/* define SFR */ AUXR DATA 08EH ;Auxiliary register WAKE_CLKO DATA 08FH ;wakeup and clock output control register T0CLKO BIT P1.0 ;timer0 clock output pin ;----------------------------------------------- ORG 0000H LJMP MAIN ;----------------------------------------------- ;/* main program */ MAIN: #ifdef MODE1T MOV AUXR, #80H ;timer0 work in 1T mode #endif MOV TMOD, #02H ;set timer0 as mode2 (8-bit auto-reload) MOV TL0, #F38_4KHz ;initial timer0 MOV TH0, #F38_4KHz ;initial timer0 SETB TR0 MOV WAKE_CLKO, #01H ;enable timer0 clock output SJMP $ ;----------------------------------------------- END 190 |
|
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 |