Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

STC12LE5616AD Datasheet(PDF) 241 Page - STCmicro Technology Co,.Ltd

Part # STC12LE5616AD
Description  Enhanced 8051 Central Processing Unit ,1T per machine cycle, faster 8~12 times than the rate of a standard 8051.
PDF  377 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STC [STCmicro Technology Co,.Ltd]
Direct Link  http://www.stcmicro.com/
Logo STC - STCmicro Technology Co,.Ltd

STC12LE5616AD Datasheet(HTML) 241 Page - STCmicro Technology Co,.Ltd

Back Button STC12LE5616AD Datasheet HTML 237Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 238Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 239Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 240Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 241Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 242Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 243Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 244Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 245Page - STCmicro Technology Co,.Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 241 / 377 page
background image
3. PCA capture/campare register CCAPM0, CCAPM1, CCAPM2 and CCAPM3
Each module in the PCA has a special function register associated with it. These registers are CCAPMn, n=0
~3. CCAPM0 for module 0, CCAPM1 for module 1, CCAPM2 for module 2 and CCAPM3 for module 3. The
register contains the bits that control the mode in which each module will operate. The ECCFn bit enables the
CCFn flag in the CCON SFR to generate an interrupt when a match or compare occurs in the associated module.
PWMn enables the pulse width modulation mode. The TOGn bit when set causes the CCPn output associated
with the module to toggle when there is a match between the PCA counter and the module’s capture/compare
register. The match bit(MATn) when set will cause the CCFn bit in the CCON register to be set when there is a
match between the PCA counter and the module’s capture/compare register.
The next two bits CAPNn and CAPPn determine the edge that a capture input will be active on. The CAPNn bit
enables the negative edge, and the CAPPn bit enables the positive edge. If both bits are set, both edges will be
enabled and a capture will occur for either transition. The bit ECOMn when set enables the comparator function.
Capture/Compare register of PCA module 0 : CCAPM0 (Non bit-addressable)
SFR name Address
bit
B7B6B5
B4
B3
B2
B1
B0
CCAPM0
DAH
name
-
ECOM0 CAPP0 CAPN0
MAT0
TOG0 PWM0 ECCF0
ECOM0 : Comparator Enable bit.
ECOM0=0 disables the comparator function;
ECOM0=1 enables the comparator function.
CAPP0 : Capture Positive control bit.
CAPP0=1 enables positive edge capture.
CAPN0 : Capture Negative control bit.
CAPN0=1 enables negative edge capture.
MAT0 :
Match control bit.
When MAT0 = 1, a match of the PCA counter with this module’s compare/capture register causes the
CCF0 bit in CCON to be set.
TOG0 :
Toggle control bit.
When TOG0=1, a match of the PCA counter with this module’s compare/capture register causes the
CCP0 pin to toggle.
(PCA0/PWM0/P3.7)
PWM0 : Pulse Width Modulation.
PWM0=1 enables the CCP0 pin to be used as a pulse width modulated output.
(PCA0/PWM0/P3.7)
ECCF0 : Enable CCF0 interrupt.
Enables compare/capture flag CCF0 in the CCON register to generate an interrupt.
241



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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