1 /*
2  * Copyright (C) 2017-2020 Alibaba Group Holding Limited
3  */
4 
5 /******************************************************************************
6  * @file     drv/clk.h
7  * @brief    Header File for CLK Driver.
8  * @version  V1.0
9  * @date     18. Mar 2020
10  ******************************************************************************/
11 
12 #ifndef _DRV_CLK_H_
13 #define _DRV_CLK_H_
14 
15 #include <stdint.h>
16 #include <drv/common.h>
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 typedef struct {
23     uint32_t module;
24     uint16_t dev_tag;
25     uint8_t  idx;
26 } csi_clkmap_t;
27 
28 void csi_clk_enable(csi_dev_t *dev);
29 void csi_clk_disable(csi_dev_t *dev);
30 
31 #ifdef __cplusplus
32 }
33 #endif
34 
35 #endif /* _DRV_CLK_H_ */
36 
37