MPC82E52AE MEGAWIN [Megawin Technology Co., Ltd], MPC82E52AE Datasheet - Page 43
MPC82E52AE
Manufacturer Part Number
MPC82E52AE
Description
8-bit micro-controller
Manufacturer
MEGAWIN [Megawin Technology Co., Ltd]
Datasheet
1.MPC82E52AE.pdf
(72 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
MPC82E52AE
Manufacturer:
SST
Quantity:
1 363
- Current page: 43 of 72
- Download datasheet (960Kb)
MEGAWIN
Configure PCA Module
PCA Capture Mode
To use one of the PCA modules in the capture mode, one or both of bits CAPPn and CAPNn
in SFR CCAPMn should be set. The external CEXn input for the module is sampled for a
transition. When a valid transition occurs, the PCA hardware loads the value of the PCA
counter register(CH and CL) into the module’s capture registers(CCAPnH and CCAPnL). If
the bit CCFn for the module in the SFR CCON and the bit ECCFn in the SFR CCAPMn are
set then an interrupt will be generated.
16-bit Software Timer Mode
The PCA modules can be used as software timers by setting both the ECOMn and MATn bits
in the CCAPMn register. The PCA timer will be compared to the module’s capture registers,
and when a match occurs an interrupt will be generated if the CCFn and ECCFn bits for the
module are both set.
ECOMn CAPPn CAPNn
X
X
X
0
1
1
1
CEXn
0
1
0
1
0
0
0
0
0
1
1
0
0
0
MATn
CF
-
0
0
0
0
1
1
0
ECOMn
CR
0
MPC82x52A Data Sheet
TOGn
CAPPn
-
0
0
0
0
0
1
0
CAPNn
PCA Capture Mode
-
PWMn
MATn
0
-
0
0
0
0
0
0
1
TOGn
0
-
ECCFn
CCF1 CCF0
PWMn
0
X
X
X
X
X
0
0
ECCFn
CAPTURE
No operation
16-bit capture by a positive-edge trigger on
CEXn
16-bit capture by a negative trigger on CEXn
16-bit capture by a transition on CEXn
16-bit Software Timer
16-bit High Speed Output
8-bit PWM
MDnCON
CCON
Module function
CCAPnH CCAPnL
CH
interrupt
PCA
CL
43
Related parts for MPC82E52AE
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
8-bit I/O type micro-controller with voice function
Manufacturer:
MEGAWIN [Megawin Technology Co., Ltd]
Datasheet:
Part Number:
Description:
8-bit I/O type micro-controller with voice function
Manufacturer:
MEGAWIN [Megawin Technology Co., Ltd]
Datasheet:
Part Number:
Description:
Full-Speed USB micro-controller
Manufacturer:
MEGAWIN [Megawin Technology Co., Ltd]
Datasheet:
Part Number:
Description:
8-bits microcontroll
Manufacturer:
MEGAWIN [Megawin Technology Co., Ltd]
Datasheet:
Part Number:
Description:
8 bits microcontroller
Manufacturer:
MEGAWIN [Megawin Technology Co., Ltd]
Datasheet:
Part Number:
Description:
8-bit micro-controller
Manufacturer:
MEGAWIN [Megawin Technology Co., Ltd]
Datasheet:
Part Number:
Description:
8-bit micro-controller
Manufacturer:
MEGAWIN [Megawin Technology Co., Ltd]
Datasheet:
Part Number:
Description:
8-bit micro-controller
Manufacturer:
MEGAWIN [Megawin Technology Co., Ltd]
Datasheet:
Part Number:
Description:
Low-Speed USB Micro-Controller
Manufacturer:
MEGAWIN [Megawin Technology Co., Ltd]
Datasheet:
Part Number:
Description:
Low-speed USB micro-controller
Manufacturer:
MEGAWIN [Megawin Technology Co., Ltd]
Datasheet:
Part Number:
Description:
UART-to- USB Bridge Controller
Manufacturer:
MEGAWIN [Megawin Technology Co., Ltd]
Datasheet:
Part Number:
Description:
3-in-1 8-bit serial to parallel latch
Manufacturer:
MEGAWIN [Megawin Technology Co., Ltd]
Datasheet:
Part Number:
Description:
24-bit I/O extender with interrupt function
Manufacturer:
MEGAWIN [Megawin Technology Co., Ltd]
Datasheet:
Part Number:
Description:
8-bit I/O type micro-controller with voice function
Manufacturer:
MEGAWIN [Megawin Technology Co., Ltd]
Datasheet: