-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardware.h
36 lines (22 loc) · 1.5 KB
/
hardware.h
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
28
29
30
31
32
33
34
35
// ------------------------------------------------------------------------------------------------------------------------
// ------------------------------------------------------------------------------------------------------------------------
#ifndef _HARDWARE_H_
#define _HARDWARE_H_
// ------------------------------------------------------------------------------------------------------------------------
float hardware_temp_get (void);
// ------------------------------------------------------------------------------------------------------------------------
void hardware_led_toggle (void);
void hardware_led_enable (const bool state);
void hardware_led_blink_start (const int millihertz);
void hardware_led_blink_stop (void);
// ------------------------------------------------------------------------------------------------------------------------
const char * hardware_watchdog_reboot (void);
// ------------------------------------------------------------------------------------------------------------------------
void hardware_open (void);
void hardware_close (void);
void hardware_update (void);
void hardware_reboot (void);
// ------------------------------------------------------------------------------------------------------------------------
#endif
// ------------------------------------------------------------------------------------------------------------------------
// ------------------------------------------------------------------------------------------------------------------------