| Electronic Components Datasheet Search |
|
MPC82x54AS2 Datasheet(PDF) 39 Page - Megawin Technology Co., Ltd |
|
|
|||||||||||||||||||||||||||||
MPC82x54AS2 Datasheet(HTML) 39 Page - Megawin Technology Co., Ltd |
|
39 / 74 page ![]() MEGAWIN MPC82x54A Data Sheet 39 CF bit (CCON.7) will be set when the PCA timer overflows, and an interrupt will be generated if the ECF (CMOD.0) is set. The CF bit can only be cleared by software. There are four bits named CCF0, CCF1, CCF2 and CCF3 in SFR CCON. Those bits serve as flags for module-0, module-1, module-2, and module-3 respectively. They are set by hardware when either a match or a capture occurs. These flags also can only be cleared by software. CH CL Fosc/12 Fosc/2 Timer0 overflow External input ECI (P3.4) CPS1 CPS0 ECF -- -- CIDL CMOD CCF1 CCF0 CR - - CF CCON IDLE PCA interrupt To PCA module 16-bit counter PCA Timer/Counter CCF2 CCF3 SFR: CMOD (PCA Counter Mode Register) Bit-7 Bit-6 Bit-5 Bit-4 Bit-3 Bit-2 Bit-1 Bit-0 CIDL - - - - CPS1 CPS0 ECF CIDL:= Behavior control of the PCA. 0:= (default) Disable counting of the PCA counter while the MCU is put under idle state. 1:= Enable counting of the PCA counter while the MCU is put under idle state. { CPS1, CPS0 }:= Used to select the clocking source for PCA counter { 0, 0 }:= set the frequency of the PCA counter clock source as oscillator’s frequency over 12 { 0, 1 }:= set the frequency of the PCA counter clock source as oscillator’s frequency over 2 { 1, 0 }:= set the PCA counter clock source as Timer-0 overflow { 1, 1 }:= set the PCA counter clock source as pin ECI(pin P3.4) ECF:= Control bit of deciding if to pass interrupt from PCA timer overflow to the MCU 0:= (default) Inhibit the interrupt from PCA timer to the MCU 1:= Permit the interrupt from PCA timer to the MCU SFR: CCON (PCA Counter Control Register) Bit-7 Bit-6 Bit-5 Bit-4 Bit-3 Bit-2 Bit-1 Bit-0 CF CR - - CCF3 CCF2 CCF1 CCF0 |
|
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 |