1 /*
2  * Copyright (c) 2018 Phytec Messtechnik GmbH
3  * Copyright (c) 2018 Intel Corporation
4  *
5  * SPDX-License-Identifier: Apache-2.0
6  */
7 
8 enum periph_device {
9 	DEV_IDX_HDC1010 = 0,
10 	DEV_IDX_MMA8652,
11 	DEV_IDX_APDS9960,
12 	DEV_IDX_EPD,
13 	DEV_IDX_NUMOF,
14 };
15 
16 void board_refresh_display(void);
17 void board_show_text(const char *text, bool center, k_timeout_t duration);
18 void board_blink_leds(void);
19 void board_add_hello(uint16_t addr, const char *name);
20 void board_add_heartbeat(uint16_t addr, uint8_t hops);
21 int get_hdc1010_val(struct sensor_value *val);
22 int get_mma8652_val(struct sensor_value *val);
23 int get_apds9960_val(struct sensor_value *val);
24 int set_led_state(uint8_t id, bool state);
25 int periphs_init(void);
26 int board_init(void);
27