| Electronic Components Datasheet Search |
|
P89CV51RB2FBC Datasheet(PDF) 43 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
P89CV51RB2FBC Datasheet(HTML) 43 Page - NXP Semiconductors |
|
43 / 73 page ![]() P89CV51RB2_RC2_RD2_1 © NXP B.V. 2007. All rights reserved. Product data sheet Rev. 01 — 5 October 2007 43 of 73 NXP Semiconductors P89CV51RB2/RC2/RD2 80C51 with 1 kB RAM, SPI The TOG bit (CCAPMn.2) when set causes the CEX 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 MAT (CCAPMn.3) 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 CAPN (CCAPMn.4) and CAPP (CCAPMn.5) determine the edge that a capture input will be active on. The CAPN bit enables the negative edge, and the CAPP bit enables the positive edge. If both bits are set both edges will be enabled and a capture will occur for either transition. The last bit in the register ECOM (CCAPMn.6) when set enables the comparator function. There are two additional registers associated with each of the PCA modules. They are CCAPnH and CCAPnL and these are the registers that store the 16-bit count when a capture occurs or a compare should occur. When a module is used in the PWM mode, these registers are used to control the duty cycle of the output. Fig 20. PCA interrupt system 002aaa533 PCA TIMER/COUNTER MODULE0 CF CR - CCF4 CCF3 CCF2 CCF1 CCF0 MODULE1 MODULE2 MODULE3 MODULE4 ECF ECCFn IE.6 EC IE.7 EA CCAPMn.0 CMOD.0 CCON (D8H) to interrupt priority decoder Table 32. CMOD - PCA counter mode register (address C1H) bit allocation Not bit addressable; reset value: 00H. Bit 7 6 5 4 3 2 1 0 Symbol CIDL WDTE - - - CPS1 CPS0 ECF |
|
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 |