| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
AT89LP51RB2 bảng dữ liệu(PDF) 99 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT89LP51RB2 bảng dữ liệu(HTML) 99 Page - ATMEL Corporation |
|
99 / 254 page ![]() 99 3722A–MICRO–10/11 AT89LP51RB2/RC2/IC2 Preliminary • 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 modules 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 modules 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. Table 15-6 shows the CCAPMn settings for the various PCA functions. Table 15-6. CCAPMn – PCA Module n Compare/Capture Control Register (n = 0–4) CCAPM0 Address = 0DAH Reset Value = x000 0000B CCAPM1 Address = 0DBH CCAPM2 Address = 0DCH CCAPM3 Address = 0DDH CCAPM4 Address = 0DEH Not Bit Addressable – ECOMn CAPPn CAPNn MATn TOGn PWMn ECCFn Bit 7 654 321 0 Symbol Function ECOMn Enable Comparator Clear to disable the comparator function of Module n. Set to enable the comparator function of Module n CAPPn Capture Positive Clear to disable positive edge capture for Module n. Set to enable positive edge capture for Module n. CAPNn Capture Negative Clear to disable negative edge capture for Module n. Set to enable negative edge capture for Module n. MATn Match Enable When MATn = 1 and ECOMn = 1 a match between the PCA counter and Module n’s compare/capture register will set the CCFn bit in CCON. Clear MATn to disable setting of CCFn by compare events. TOGn Toggle Output When TOGn = 1 and ECOMn = 1 a match between the PCA counter and Module n’s compare/capture register will toggle the CEXn pin. Clear TOGn to disable toggling of CEXn by compare events. PWMn Pulse Width Modulation Enable Set to configure Module n in PWM mode and use CEXn as a PWM output. Clear to disable PWM mode for Module n. ECCFn Enable CCFn Interrupt Clear to disable the CCFn bit in CCON as an interrupt source. Set to enable the CCFn bit in CCON to generate interrupts. |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |