| Electronic Components Datasheet Search |
|
STC12LE5616AD Datasheet(PDF) 45 Page - STCmicro Technology Co,.Ltd |
|
|
|||||||||||||||||||||||||||||
STC12LE5616AD Datasheet(HTML) 45 Page - STCmicro Technology Co,.Ltd |
|
45 / 377 page ![]() void Normal_Work_Flashing (void) { Normal_Work_Flashing_LED = 0; delay ( ); Normal_Work_Flashing_LED = 1; delay ( ); } The following program also demostrates that power-down mode or idle mode be woken-up by external interrupt, but is written in assembly language rather than C languge. /*--------------------------------------------------------------------------------*/ /* --- STC MCU International Limited -----------------------------------*/ /* --- STC 1T Series MCU wake up Power-Down mode Demo ------*/ /* If you want to use the program or the program referenced in the */ /* article, please specify in which data and procedures from STC */ /*-------------------------------------------------------------------------------*/ ;************************************************************** ;Wake Up Idle and Wake Up Power Down ;************************************************************** ORG 0000H AJMP MAIN ORG 0003H int0_interrupt: CLR P1.7 ;open P1.7 LED indicator ACALL delay ;delay in order to observe CLR EA ;clear global enable bit, stop all interrupts RETI ORG 0013H int1_interrupt: CLR P1.6 ;open P1.6 LED indicator ACALL delay ;;delay in order to observe CLR EA ;clear global enable bit, stop all interrupts RETI ORG 0100H delay: CLR A MOV R0, A MOV R1, A MOV R2, #02 45 |
|
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 |