switch off the BOD by software

View: New views
2 Messages — Rating Filter:   Alert me  

switch off the BOD by software

by Wally-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

May anybody show me please how to switch off the BOD by software ?
Or an URL to an example code snippet.

I do not know how to
"BOD disable is controlled by a timed sequence"
in C code.

regs wally


_______________________________________________
AVR-chat mailing list
AVR-chat@...
http://lists.nongnu.org/mailman/listinfo/avr-chat

RE: switch off the BOD by software

by Weddington, Eric :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 

> -----Original Message-----
> From: avr-chat-bounces+eric.weddington=atmel.com@...
> [mailto:avr-chat-bounces+eric.weddington=atmel.com@...]
>  On Behalf Of wally
> Sent: Tuesday, September 22, 2009 10:17 AM
> To: avr-chat@...
> Subject: [avr-chat] switch off the BOD by software
>
> May anybody show me please how to switch off the BOD by software ?
> Or an URL to an example code snippet.
>
> I do not know how to
> "BOD disable is controlled by a timed sequence"
> in C code.

Take a look at <avr/sleep.h> from avr-libc:
<http://www.nongnu.org/avr-libc/user-manual/group__avr__sleep.html>

There is a function/macro sleep_bod_disable() that is part of the header file, though it seems the avr-libc documentation seems to be lacking in this area. :-(


_______________________________________________
AVR-chat mailing list
AVR-chat@...
http://lists.nongnu.org/mailman/listinfo/avr-chat