Revision 891
Moved comments to headers. That was painful.
reset.h | ||
---|---|---|
25 | 25 |
|
26 | 26 |
|
27 | 27 |
/** |
28 |
* |
|
29 | 28 |
* @file reset.h |
30 | 29 |
* @brief Contains function(s) for resetting the robots |
31 | 30 |
* |
... | ... | |
36 | 35 |
#define _RESET_H_ |
37 | 36 |
|
38 | 37 |
/** |
39 |
* @addtogroup reset |
|
38 |
* @defgroup reset Reset |
|
39 |
* Functions for manipulation the ADC on the dragonfly board. |
|
40 |
* All definitions may be found in analog.h. |
|
41 |
* |
|
40 | 42 |
* @{ |
41 | 43 |
**/ |
42 |
|
|
43 |
/** @brief Reset the robot **/ |
|
44 |
|
|
45 |
/** |
|
46 |
* @brief Reset the robot |
|
47 |
* |
|
48 |
* Resets the AVR when called. Sets the watchdog timer and lets it overflow |
|
49 |
* to reset the AVR. The reset clears all memory and resets all registers |
|
50 |
* with the exception of the Watchdog Reset Flag (WDRF) in the MCU Control |
|
51 |
* and Status Register (MCUCSR). |
|
52 |
**/ |
|
44 | 53 |
void reset(void); |
45 | 54 |
|
46 | 55 |
/**@}**/ //end group |
Also available in: Unified diff