| Electronic Components Datasheet Search |
|
STC12LE5616AD Datasheet(PDF) 253 Page - STCmicro Technology Co,.Ltd |
|
|
|||||||||||||||||||||||||||||
STC12LE5616AD Datasheet(HTML) 253 Page - STCmicro Technology Co,.Ltd |
|
253 / 377 page ![]() 2. Assembly code listing: ;/*------------------------------------------------------------------------------------------*/ ;/* --- STC MCU International Limited ---------------------------------------------*/ ;/* --- STC 1T Series MCU PCA module Extended external interrupt ----------*/ ;/* If you want to use the program or the program referenced in the */ ;/* article, please specify in which data and procedures from STC */ ;/*-------------------------------------------------------------------------------------------*/ ;/*Declare SFR associated with the PCA */ EPCAI BIT IE.6 CCON EQU 0D8H ;PCA control register CCF0 BIT CCON.0 ;PCA module-0 interrupt flag CCF1 BIT CCON.1 ;PCA module-1 interrupt flag CR BIT CCON.6 ;PCA timer run control bit CF BIT CCON.7 ;PCA timer overflow flag CMOD EQU 0D9H ;PCA mode register CL EQU 0E9H ;PCA base timer LOW CH EQU 0F9H ;PCA base timer HIGH CCAPM0 EQU 0DAH ;PCA module-0 mode register CCAP0L EQU 0EAH ;PCA module-0 capture register LOW CCAP0H EQU 0FAH ;PCA module-0 capture register HIGH CCAPM1 EQU 0DBH ;PCA module-1 mode register CCAP1L EQU 0EBH ;PCA module-1 capture register LOW CCAP1H EQU 0FBH ;PCA module-1 capture register HIGH CCAPM2 EQU 0DCH ;PCA module-2 mode register CCAP2L EQU 0ECH ;PCA module-2 capture register LOW CCAP2H EQU 0FCH ;PCA module-2 capture register HIGH CCAPM3 EQU 0DDH ;PCA module-3 mode register CCAP3L EQU 0EDH ;PCA module-3 capture register LOW CCAP3H EQU 0FDH ;PCA module-3 capture register HIGH PCA_LED BIT P1.0 ;PCA test LED ;----------------------------------------- ORG 0000H LJMP MAIN 253 |
|
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 |