summaryrefslogtreecommitdiff
path: root/bsp/essemi/es32f369x/drivers/drv_pm.h
blob: 56de29eef5090b3d58ac26d74772c0c53bc694c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * Copyright (C) 2018 Shanghai Eastsoft Microelectronics Co., Ltd.
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author        Notes
 * 2019-04-01     wangyq        the first version
 */

#ifndef DRV_PM_H__
#define DRV_PM_H__

#include <rthw.h>
#include <board.h>
#include <rtdevice.h>
#include <ald_cmu.h>
#include <ald_pmu.h>
#include "shell.h"

int rt_hw_pm_init(void);

extern void save_register(void *p_head,uint32_t size,void *p_save);
 
extern void load_register(void *p_head,uint32_t size,void *p_load);

#endif