mpc82l54 Megawin Technology, mpc82l54 Datasheet - Page 39

no-image

mpc82l54

Manufacturer Part Number
mpc82l54
Description
8-bit Micro-controller
Manufacturer
Megawin Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
mpc82l54AE2
Quantity:
160
Part Number:
mpc82l54AT
Manufacturer:
MOTO
Quantity:
95
Company:
Part Number:
mpc82l54AT2
Quantity:
33
MEGAWIN
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.
SFR: CMOD (PCA Counter Mode Register)
SFR: CCON (PCA Counter Control Register)
IDLE
CIDL:= Behavior control of the PCA.
{ CPS1, CPS0 }:= Used to select the clocking source for PCA counter
ECF:= Control bit of deciding if to pass interrupt from PCA timer overflow to the MCU
CIDL
Bit-7
Bit-7
CF
0:= (default)
1:=
{ 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)
0:= (default)
1:=
Disable counting of the PCA counter while the MCU is put under idle state.
Enable counting of the PCA counter while the MCU is put under idle state.
Inhibit the interrupt from PCA timer to the MCU
Permit the interrupt from PCA timer to the MCU
Timer0 overflow
External input
ECI (P3.4)
Bit-6
Bit-6
CR
-
Fosc/12
Fosc/2
Bit-5
Bit-5
-
-
MPC82x54A Data Sheet
Bit-4
Bit-4
CIDL
CF
PCA Timer/Counter
-
-
CR
-
-
-
CCF3
Bit-3
Bit-3
-
-
-
CCF3
-
CCF2
CPS1 CPS0
CCF1 CCF0
CPS1
CCF2
Bit-2
Bit-2
CH
ECF
16-bit counter
CMOD
CCON
CL
CCF1
CPS0
Bit-1
Bit-1
To PCA module
interrupt
CCF0
PCA
Bit-0
ECF
Bit-0
39

Related parts for mpc82l54