drv_pm.h 556 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Copyright (C) 2018 Shanghai Eastsoft Microelectronics Co., Ltd.
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2019-04-01 wangyq the first version
  9. */
  10. #ifndef DRV_PM_H__
  11. #define DRV_PM_H__
  12. #include <rthw.h>
  13. #include <board.h>
  14. #include <rtdevice.h>
  15. #include <ald_cmu.h>
  16. #include <ald_pmu.h>
  17. #include "shell.h"
  18. int rt_hw_pm_init(void);
  19. extern void save_register(void *p_head,uint32_t size,void *p_save);
  20. extern void load_register(void *p_head,uint32_t size,void *p_load);
  21. #endif