dev_misc.h 792 B

1234567891011121314151617181920212223
  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. #ifndef __DEV_MISC_H__
  11. #define __DEV_MISC_H__
  12. /* Includes ------------------------------------------------------------------*/
  13. /* Exported types ------------------------------------------------------------*/
  14. /* Exported constants --------------------------------------------------------*/
  15. /* Exported macro ------------------------------------------------------------*/
  16. /* Exported functions ------------------------------------------------------- */
  17. rt_err_t rt_hw_misc_init(void);
  18. rt_int32_t rt_hw_get_temp(void);
  19. rt_uint32_t rt_hw_get_vdd(void);
  20. #endif /* __DEV_MISC_H__ */