summaryrefslogtreecommitdiff
path: root/include/arch.h
blob: 1911271dadd1df69f4fd746c5bb96716a98187a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef ARCH_H
#define ARCH_H

class Arch {
	private:
		Arch(const Arch &copy);

	public:
		Arch () {}
		void setup();
		void idle_loop();
		void idle();

		// Delay functions are not exact
		void delay_us(unsigned int const us);
		void delay_ms(unsigned int const ms);
		void sleep_ms(unsigned int const ms);
};

extern Arch arch;

#endif