blob: e8169a2c356ae3608e6adb0d5deedbb35426d185 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
/*
* Copyright 2020 Birte Kristina Friesel
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#ifndef ARCH_H
#define ARCH_H
class Arch {
private:
Arch(const Arch ©);
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
|