| Electronic Components Datasheet Search |
|
STC12LE5616AD Datasheet(PDF) 146 Page - STCmicro Technology Co,.Ltd |
|
|
|||||||||||||||||||||||||||||
STC12LE5616AD Datasheet(HTML) 146 Page - STCmicro Technology Co,.Ltd |
|
146 / 377 page ![]() 1. Demostrate External Interrupt 0 triggered by Falling Edge C program /*-------------------------------------------------------------------------------*/ /* --- STC MCU International Limited ----------------------------------*/ /* --- STC 1T Series MCU Ext0 (Falling edge) Demo -----------------*/ /* If you want to use the program or the program referenced in the */ /* article, please specify in which data and procedures from STC */ /*-------------------------------------------------------------------------------*/ #include "reg51.h" //External interrupt0 service routine void exint0() interrupt 0 //INT0, interrupt 0 (location at 0003H) { } void main() { IT0 = 1; //set INT0 interrupt type (1:Falling 0:Low level) EX0 = 1; //enable INT0 interrupt EA = 1; //open global interrupt switch while (1); } 6.7.1 External Interrupt 0 (INT0) Demo Programs (C and ASM) 6.7 Demo Programs about Interrupts (C and ASM) 146 |
|
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 |