pmu_a9.h

来自「realview下的一个arm9的bootloader烧录器.支持norflas」· C头文件 代码 · 共 72 行

H
72
字号
/******************************************************************************** * Copyright Statement: * -------------------- * This software is protected by Copyright and the information contained herein * is confidential.  The software may not be copied and the information * contained herein may not be used or disclosed except with the written * permission of INFOMAX COMMUNICATION CO.,LTD. * * MODULE NAME:  ARM Power Management Unit (PMU) * DESCRIPTION:  ARM Power Management Unit (PMU) API header file * AUTHOR:       Bo-Hung Wu * BEGIN DATE:   Nov. 1, 2007 * LAST MODIFICATION:  *******************************************************************************/ #ifndef PMU_A9_H#define PMU_A9_H/*******************************************************************************  Header files  *******************************************************************************//*******************************************************************************  Constant/Marco *******************************************************************************//* Register bit definition */ #define PMU_FREE_RUN 0 #define PMU_GATE_OFF 1#define PMU_COCK_PERMANENT_ON 0#define PMU_COCK_DYNAMIC_ON   1#define PMU_A9_DBG_DISABLE 0#define PMU_A9_DBG_ENABLE  1/*******************************************************************************  Structure/Union/Enum/Typedef *******************************************************************************/ typedef struct pmu_reg_setting_S{    UINT32 A9_gpt_0:1;    UINT32 A9_gpt_1:1;    UINT32 A9_tracer:1;    UINT32 A9_video_sys:1;    UINT32 A9_JPEG_codec:1;    UINT32 A9_scalar_line_buffer_dyn_clk_cntl:1;    UINT32 reserved_0:1;    UINT32 A9_TCM_dyn_clk_cntl:1;    UINT32 A9_dbg_cntl:1;    UINT32 reserved_1:23;} pmu_reg_setting_T;/*******************************************************************************  Function Prototypes *******************************************************************************/ /** @Desc    Description for function_name @Param parameter 1    Put parameter 1 description here @Param parameter 2    Put parameter 2 description here @Return    Return value 1 and it description  @Return    Return value 1 and it description */void pmu_a9_set(pmu_reg_setting_T *pmu_reg_setting_param_ptr);void pmu_a9_get(pmu_reg_setting_T *pmu_reg_setting_param_ptr);#endif /* #ifndef */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?