avr-libc icon indicating copy to clipboard operation
avr-libc copied to clipboard

[bug #51022] avr/wdt.h should support all of the modes of operation of the WDT

Open avrs-admin opened this issue 3 years ago • 3 comments

Sun 14 May 2017 03:10:05 AM CEST

This issue was migrated from https://savannah.nongnu.org/bugs/?51022

avrs-admin avatar Jan 31 '22 02:01 avrs-admin

Joerg Wunsch <joerg_wunsch> Sun 14 May 2017 08:20:04 AM CEST

Please submit more details.

avrs-admin avatar Jan 31 '22 02:01 avrs-admin

Eric Tang <e_l_tang> Sun 14 May 2017 04:09:59 PM CEST

According to the data sheet, the WDT can operate in Interrupt mode, System Reset Mode, and Interrupt and System Reset mode. Currently the library is hardcoded to use System Reset mode, and it is not possible to use either of the other two modes without resorting to modifying registers directly.

avrs-admin avatar Jan 31 '22 02:01 avrs-admin

Joerg Wunsch <joerg_wunsch> Sun 14 May 2017 05:44:09 PM CEST

OK, now it makes sense.

avrs-admin avatar Jan 31 '22 02:01 avrs-admin