| 数据搜索系统,热门电子元器件搜索 |
|
AT83C5136-RDTUL 数据表(PDF) 41 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT83C5136-RDTUL 数据表(HTML) 41 Page - ATMEL Corporation |
|
41 / 171 page ![]() 41 AT83C5134/35/36 7683B–USB–03/07 The CMOD register includes three additional bits associated with the PCA (See Figure 19 and Table 39). • The CIDL bit allows the PCA to stop during idle mode. • The WDTE bit enables or disables the watchdog function on module 4. • The ECF bit when set causes an interrupt and the PCA overflow flag CF (in the CCON SFR) to be set when the PCA timer overflows. The CCON register contains the run control bit for the PCA and the flags for the PCA timer (CF) and each module (see Table 40). • Bit CR (CCON.6) must be set by software to run the PCA. The PCA is shut off by clearing this bit. • Bit CF: The CF bit (CCON.7) is set when the PCA counter overflows and an interrupt will be generated if the ECF bit in the CMOD register is set. The CF bit can only be cleared by software. • Bits 0 through 4 are the flags for the modules (bit 0 for module 0, bit 1 for module 1, etc.) and are set by hardware when either a match or a capture occurs. These flags can only be cleared by software. Reset Value = 000X 0000b Not bit addressable Table 40. CCON Register CCON - PCA Counter Control Register (D8h) 7 6 5 4 3 2 1 0 CF CR – CCF4 CCF3 CCF2 CCF1 CCF0 Bit Number Bit Mnemonic Description 7 CF PCA Counter Overflow flag Set by hardware when the counter rolls over. CF flags an interrupt if bit ECF in CMOD is set. CF may be set by either hardware or software but can only be cleared by software. 6 CR PCA Counter Run control bit Must be cleared by software to turn the PCA counter off. Set by software to turn the PCA counter on. 5 – Reserved The value read from this bit is indeterminate. Do not set this bit. 4 CCF4 PCA Module 4 interrupt flag Must be cleared by software. Set by hardware when a match or capture occurs. 3 CCF3 PCA Module 3 interrupt flag Must be cleared by software. Set by hardware when a match or capture occurs. 2 CCF2 PCA Module 2 interrupt flag Must be cleared by software. Set by hardware when a match or capture occurs. 1 CCF1 PCA Module 1 Interrupt Flag Must be cleared by software. Set by hardware when a match or capture occurs. 0 CCF0 PCA Module 0 Interrupt Flag Must be cleared by software. Set by hardware when a match or capture occurs. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |