Rainbow-electronics T89C51AC2 Uživatelský manuál Strana 75

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 110
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 74
75
T89C51AC2
Rev. B – 19-Dec-01
15.9 PCA Registers Table 36. CMOD Register
CMOD (S:D8h)
PCA Counter Mode Register
Reset Value = 00XX X000b
76543210
CIDL WDTE - - - CPS1 CPS0 ECF
Bit
Number
Bit
Mnemonic Description
7CIDL
PCA Counter Idle Control bit
CleartoletthePCArunduringIdlemode.
SettostopthePCAwhenIdlemodeisinvoked.
6WDTE
Watchdog Timer Enable
Clear to disable Watchdog Timer function on PCA Module 4,
Set to enable it.
5-
Reserved
The value read from this bit is indeterminate. Do not set this bit.
4-
Reserved
The value read from this bit is indeterminate. Do not set this bit.
3-
Reserved
The value read from this bit is indeterminate. Do not set this bit.
2CPS1
EWC Count Pulse Select bits
CPS1
CPS0 Clock source
0 0 Internal Clock, FPca/6
0 1 Internal Clock, FPca/2
1 0 Timer 0 overflow
1 1 External clock at ECI/P1.2 pin (Max. Rate = FPca/4)
1CPS0
0ECF
Enable PCA Counter Overflow Interrupt bit
Clear to disable CF bit in CCON register to generate an interrupt.
Set to enable CF bit in CCON register to generate an interrupt.
Zobrazit stránku 74
1 2 ... 70 71 72 73 74 75 76 77 78 79 80 ... 109 110

Komentáře k této Příručce

Žádné komentáře