oled 1.0
OLED Graphics Control Library
Loading...
Searching...
No Matches
system.h
Go to the documentation of this file.
1
18
19#ifndef SYSTEM_H_
20#define SYSTEM_H_
21
22#ifndef SYSTEM_CLOCK
39 #define SYSTEM_CLOCK CLKCTRL_CLKSEL_OSC20M_gc
40
57 #ifndef SYSTEM_CLOCK_BIT
58 #define SYSTEM_CLOCK_BIT CLKCTRL_OSC20MS_bm
59 #endif
60#endif
61
62#ifndef SYSTEM_PER_CLOCK_PRESCALER
86 #define SYSTEM_PER_CLOCK_PRESCALER CLKCTRL_PDIV_2X_gc
87#endif
88
89#include <avr/io.h>
90
91void system_init(void);
92
93#endif /* SYSTEM_H_ */
void system_init(void)
Initializes the system clock configuration of the microcontroller.
Definition system.c:45