📄 pmu_a7.c
字号:
/******************************************************************************* * 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 7 Power Management Unit (PMU) API * DESCRIPTION: ARM 7 Power Management Unit (PMU) API * AUTHOR: Bo-Hung Wu * BEGIN DATE: Nov. 5, 2007 * LAST MODIFICATION: *****************************************************************************//******************************************************************************* Include/header files *******************************************************************************/#include "common_var_types.h"#include "magic_reg_defs.h"#include "pmu_a7.h"/******************************************************************************* Constant/Marco*******************************************************************************//******************************************************************************* Structure/Union/Enum/Typedef *******************************************************************************//******************************************************************************* Local function prototype *******************************************************************************//******************************************************************************* Global/Local variables *******************************************************************************//******************************************************************************* Function implementation *******************************************************************************//** @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_a7_set(pmu_a7_reg_setting_T *pmu_reg_setting_param_ptr){ /* Validate paramter */ //pmu_reg_setting_param_ptr: non null HW_WRITE(APB_A7_GATED_CLK_CNTL_REG, *(UINT32 *)pmu_reg_setting_param_ptr);}void pmu_a7_get(pmu_a7_reg_setting_T *pmu_reg_setting_param_ptr){ /* Validate paramter */ //pmu_reg_setting_param_ptr: non null *pmu_reg_setting_param_ptr = *( (pmu_a7_reg_setting_T *)&HW_READ(APB_A7_GATED_CLK_CNTL_REG) );}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -