AVRTools
A Library for the AVR ATmega328 and ATmega2560 Microcontrollers
AVRTools
InitSystem.h
Go to the documentation of this file.
1
/*
2
SystemClock.cpp - Functions to initialize and use a system clock
3
on AVR chips that is compatible with Arduino.
4
For AVR ATMega328p (Arduino Uno) and ATMega2560 (Arduino Mega).
5
This is part of the AVRTools library.
6
Copyright (c) 2014 Igor Mikolic-Torreira. All right reserved.
7
Functions readlong() and readFloat() adapted from Arduino code that
8
is Copyright (c) 2005-2006 David A. Mellis and licensed under LGPL.
9
10
This program is free software: you can redistribute it and/or modify
11
it under the terms of the GNU Lesser General Public License as published by
12
the Free Software Foundation, either version 3 of the License, or
13
(at your option) any later version.
14
15
This program is distributed in the hope that it will be useful,
16
but WITHOUT ANY WARRANTY; without even the implied warranty of
17
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
GNU Lesser General Public License for more details.
19
20
You should have received a copy of the GNU Lesser General Public License
21
along with this program. If not, see <http://www.gnu.org/licenses/>.
22
*/
23
24
37
#ifndef InitSystem_h
38
#define InitSystem_h
39
40
49
void
initSystem
();
50
51
52
#endif
initSystem
void initSystem()
This function initializes the microcontroller by clearing any bootloader settings, clearing all timers, and turning on interrupts.
Definition:
InitSystem.cpp:36
Generated on Mon Dec 31 2018 23:49:36 for AVRTools by
1.8.13