AVRTools
A Library for the AVR ATmega328 and ATmega2560 Microcontrollers
Functions
InitSystem.h File Reference

Include this file to use the functions that initialize the microcontroller to a known, basic state. More...

Go to the source code of this file.

Functions

void initSystem ()
 This function initializes the microcontroller by clearing any bootloader settings, clearing all timers, and turning on interrupts. More...
 

Detailed Description

Include this file to use the functions that initialize the microcontroller to a known, basic state.

To use these functions, include InitSystem.h in your source code and link against InitSystem.cpp.

Function Documentation

§ initSystem()

void initSystem ( )

This function initializes the microcontroller by clearing any bootloader settings, clearing all timers, and turning on interrupts.

This function is generally called at the very beginning of main().