dev_misc.h 1.3 KB

12345678910111213141516171819202122232425262728
  1. /***************************************************************************//**
  2. * @file dev_misc.h
  3. * @brief Miscellaneous driver of RT-Thread RTOS for EFM32
  4. * COPYRIGHT (C) 2012, RT-Thread Development Team
  5. * @author onelife
  6. * @version 1.0
  7. *******************************************************************************
  8. * @section License
  9. * The license and distribution terms for this file may be found in the file
  10. * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE
  11. *******************************************************************************
  12. * @section Change Logs
  13. * Date Author Notes
  14. * 2011-02-22 onelife Initial creation for EFM32
  15. ******************************************************************************/
  16. #ifndef __DEV_MISC_H__
  17. #define __DEV_MISC_H__
  18. /* Includes ------------------------------------------------------------------*/
  19. /* Exported types ------------------------------------------------------------*/
  20. /* Exported constants --------------------------------------------------------*/
  21. /* Exported macro ------------------------------------------------------------*/
  22. /* Exported functions ------------------------------------------------------- */
  23. rt_err_t rt_hw_misc_init(void);
  24. rt_int32_t rt_hw_get_temp(void);
  25. rt_uint32_t rt_hw_get_vdd(void);
  26. #endif /* __DEV_MISC_H__ */