MikroElektronika PIC Microcontrollers PIC16 Specifikace Strana 163

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 266
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 162
mikroElektronika | Free Online Book | PIC Microcontrollers | Chapter 9: Instruction Set
EXAMPLE 1:
....
[label] CLRW
Before instruction: W=0x55
After instruction: W=0x00
Z = 1
CLRWDT - Clear Watchdog Timer
Syntax: [label] CLRWDT
Description: Resets the watchdog timer and the WDT prescaler. Status bits TO and PD are
set.
Operation: 0 -> WDT 0 -> WDT prescaler 1 -> TO 1 -> PD
Operand: -
Status affected: TO, PD
Number of cycles: 1
EXAMPLE :
....
[label] CLRWDT
Before instruction execution: WDT counter = x
WDT prescaler = 1:128
After instruction: WDT counter = 0x00
WDT prescaler = 0
TO = 1
PD = 1
WDT prescaler = 1: 128
COMF - Complement f
http://www.mikroe.com/en/books/picmcubook/ch9/ (14 of 35)5/3/2009 11:35:12 AM
Zobrazit stránku 162
1 2 ... 158 159 160 161 162 163 164 165 166 167 168 ... 265 266

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

Žádné komentáře