MikroElektronika PIC Microcontrollers PIC16 Especificações Página 163

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 266
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 162
1 2 ... 158 159 160 161 162 163 164 165 166 167 168 ... 265 266

Comentários a estes Manuais

Sem comentários