mpc82g516a Megawin Technology, mpc82g516a Datasheet - Page 70

no-image

mpc82g516a

Manufacturer Part Number
mpc82g516a
Description
8-bit Microcontroller
Manufacturer
Megawin Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mpc82g516aE
Manufacturer:
MEGAWIN
Quantity:
1 200
Part Number:
mpc82g516aF
Manufacturer:
MEGAWIN
Quantity:
20 000
starts from 0%, up to 100%, with a step of 1/256.
PCAPWMn, n=0~5 (Address=F2H~F7H, PWM Mode Auxiliary Registers)
ECAPnH: Extended 9
ECAPnL: Extended 9
14.4 Operation Modes of the PCA
Table 14-1 shows the CCAPMn register settings for the various PCA functions.
Table 14-1. PCA Module Modes
14.4.1 Capture Mode
To use one of the PCA modules in the capture mode, either one or both of the bits CAPN and CAPP for that
module must be set. The external CEX input for the module is sampled for a transition. When a valid transition
occurs the PCA hardware loads the value of the PCA counter registers (CH and CL) into the module’s capture
registers (CCAPnL and CCAPnH). If the CCFn and the ECCFn bits for the module are both set, an interrupt will
be generated.
Figure 14-4. PCA Capture Mode
MEGAWIN
ECOMn CAPPn CAPNn MATn
X
X
X
0
1
1
1
7
-
0
1
0
1
0
0
0
6
-
0
0
1
1
0
0
0
th
th
bit (MSB bit), associated with CCAPnL to become a 9-bit register used in PWM mode.
bit (MSB bit), associated with CCAPnH to become a 9-bit register used in PWM mode.
5
-
0
0
0
0
1
1
0
TOGn PWMn ECCFn
4
-
0
0
0
0
0
1
0
MPC82G516A Data Sheet
0
0
0
0
0
0
1
3
-
X
X
X
X
X
0
0
2
-
No operation
16-bit capture by a positive-edge trigger on CEXn
16-bit capture by a negative-edge trigger on CEXn
16-bit capture by a transition on CEXn
16-bit Software Timer
16-bit High Speed Output
8-bit Pulse Width Modulator (PWM)
ECAPnH ECAPnL
1
0
Module Function
70

Related parts for mpc82g516a