root / branches / encoders / code / projects / colonet / utilities / robot_slave / reset.h @ 1390
History | View | Annotate | Download (336 Bytes)
1 | 13 | emarinel | /*
|
---|---|---|---|
2 | reset.h - contains reset() function that resets the AVR
|
||
3 | */
|
||
4 | |||
5 | |||
6 | /*
|
||
7 | Resets the AVR when called. Sets the watchdog timer and lets it overflow
|
||
8 | to reset the AVR. The reset clears all memory and resets all registers
|
||
9 | with the exception of the Watchdog Reset Flag (WDRF) in the MCU Control
|
||
10 | and Status Register (MCUCSR).
|
||
11 | */
|
||
12 | void reset(void); |