1 /* 2 * Copyright (c) 2006-2022, RT-Thread Development Team 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 * Change Logs: 7 * Date Author Notes 8 * 2011-02-22 onelife Initial creation for EFM32 9 */ 10 11 #ifndef __DEV_MISC_H__ 12 #define __DEV_MISC_H__ 13 14 /* Includes ------------------------------------------------------------------*/ 15 /* Exported types ------------------------------------------------------------*/ 16 /* Exported constants --------------------------------------------------------*/ 17 /* Exported macro ------------------------------------------------------------*/ 18 /* Exported functions ------------------------------------------------------- */ 19 rt_err_t rt_hw_misc_init(void); 20 rt_int32_t rt_hw_get_temp(void); 21 rt_uint32_t rt_hw_get_vdd(void); 22 23 #endif /* __DEV_MISC_H__ */ 24