| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
AT89C51RB2-3CSIM bảng dữ liệu(PDF) 40 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT89C51RB2-3CSIM bảng dữ liệu(HTML) 40 Page - ATMEL Corporation |
|
40 / 127 page ![]() 40 AT89C51RB2/RC2 4180C–8051–12/03 16-bit Software Timer/ Compare Mode The PCA Modules can be used as software timers by setting both the ECOM and MAT bits in the Modules CCAPMn register. The PCA timer will be compared to the Module's capture registers and when a match occurs, an interrupt will occur if the CCFn (CCON SFR) and the ECCFn (CCAPMn SFR) bits for the Module are both set (see Figure 14). Figure 14. PCA Compare Mode and PCA Watchdog Timer Note: 1. Only for Module 4 Before enabling ECOM bit, CCAPnL and CCAPnH should be set with a non zero value, otherwise an unwanted match could occur. Writing to CCAPnH will set the ECOM bit. Once ECOM set, writing CCAPnL will clear ECOM so that an unwanted match doesn’t occur while modifying the compare value. Writing to CCAPnH will set ECOM. For this reason, user software should write CCAPnL first, and then CCAPnH. Of course, the ECOM bit can still be controlled by accessing to CCAPMn register. CH CL CCAPnH CCAPnL ECOMn CCAPMn, n = 0 to 4 0xDA to 0xDE CAPNn MATn TOGn PWMn ECCFn CAPPn 16 bit Comparator Match CCON 0xD8 PCA IT Enable PCA Counter/Timer RESET(1) CIDL CPS1 CPS0 ECF CMOD 0xD9 WDTE Reset Write to CCAPnL Write to CCAPnH CF CCF2 CCF1 CCF0 CR CCF3 CCF4 10 |
|
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 |