avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bug #47734] WDTO_4S and WDTO_8S are incorrect


From: anonymous
Subject: [avr-libc-dev] [bug #47734] WDTO_4S and WDTO_8S are incorrect
Date: Wed, 20 Apr 2016 00:01:05 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36

Follow-up Comment #2, bug #47734 (project avr-libc):

Atmel-8271  is the spec for teh 168/328/P
Atmel-2586 for the ATTiny's

Okay I was using the define's to set the bits directly to enable only the
watchdog interrupt. Which is why I saw the problem then.

        WDTCR = _BV(WDIE) | _BV(WDP3) | _BV(WDP0) | WDTO_8S;

If wdt_enable() splits the bits that is fine.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?47734>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]