[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] correction in xmega wdt_enable/ wdt_enable
From: |
S, Pitchumani |
Subject: |
[avr-libc-dev] correction in xmega wdt_enable/ wdt_enable |
Date: |
Wed, 14 May 2014 05:29:04 +0000 |
Hi,
As per datasheet, wdt_enable should wait until SYNCBUSY bit in STATUS register
is cleared.
Also the wdt_disable macro is not present for xmega.
Attached patch corrects update wdt_enable macro and adds wdt_disable macro for
xmega devices.
Please review and send your comments.
Regards,
Pitchumani
2014-05-14 Pitchumani Sivanupandi <address@hidden>
* include/avr/wdt.h (wdt_enable): update wdt_enable for xmega to wait
till sync finished (as per datasheet).
(wdt_disable): Add wdt_disable for xmega devices.
Xmega-wdt-enable-disable.patch
Description: Xmega-wdt-enable-disable.patch
- [avr-libc-dev] correction in xmega wdt_enable/ wdt_enable,
S, Pitchumani <=