URL: <http://savannah.nongnu.org/bugs/?23004>
Summary: Watchdog enable docu only generated for Xmega series Project: AVR C Runtime Library Submitted by: wutje Submitted on: Sunday 04/20/2008 at 21:31 Category: Documentation Severity: 3 - Normal Priority: 5 - Normal Item Group: Documentation Status: None Percent Complete: 0% Assigned to: None Open/Closed: Open Discussion Lock: Any Release: 1.6.2 Fixed Release: None _______________________________________________________ Details: The addition of Xmega ifdef has broken the documentation generation for wdt_enable. The code is now this: #if defined(__AVR_ATxmega128A1__) \ || defined(__AVR_ATxmega64A1__) /** \ingroup avr_watchdog Enable the watchdog timer, configuring it for expiry after \c timeout (which is a combination of the \c WDP0 through \c WDP2 bits to write into the \c WDTCR register; For those devices that have a \c WDTCSR register, it uses the combination of the \c WDP0 through \c WDP3 bits). See also the symbolic constants \c WDTO_15MS et al. */ should of course be: /** \ingroup avr_watchdog Enable the watchdog timer, configuring it for expiry after \c timeout (which is a combination of the \c WDP0 through \c WDP2 bits to write into the \c WDTCR register; For those devices that have a \c WDTCSR register, it uses the combination of the \c WDP0 through \c WDP3 bits). See also the symbolic constants \c WDTO_15MS et al. */ #if defined(__AVR_ATxmega128A1__) \ || defined(__AVR_ATxmega64A1__) _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?23004> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/ _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-libc-dev