⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bsp_prcm_cfg.inc

📁 Windows CE 6.0 BSP for the Beagle Board.
💻 INC
字号:
;
; Copyright (c) Microsoft Corporation.  All rights reserved.
;
;
; Use of this sample source code is subject to the terms of the Microsoft
; license agreement under which you licensed this sample source code. If
; you did not accept the terms of the license agreement, you are not
; authorized to use this sample source code. For the terms of the license,
; please see the license agreement between you and Microsoft or, if applicable,
; see the LICENSE.RTF on your install media or the root of your tools installation.
; THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES.
;
;//
;// Portions Copyright (c) Texas Instruments.  All rights reserved.
;//
;//------------------------------------------------------------------------------
;//
;//  File:  bsp_prcm_cfg.inc
;//
;//  This header file is comprised of PRCM module register details defined as
;//  structures and macros for configuring and controlling PRCM module.
;//------------------------------------------------------------------------------

BSP_PRCM_CM_CLKSEL2_PLL_MASK		EQU 0x03
BSP_PRCM_CM_CLKSEL2_PLL_DPLL_SET	EQU 0x02

BSP_PRCM_CM_CLKEN_PLL_MASK1			EQU 0x03
BSP_PRCM_CM_CLKEN_PLL_DPLL_SET1		EQU 0x01
BSP_PRCM_CM_CLKEN_PLL_DPLL_SET2		EQU 0x03

BSP_PRCM_CM_CLKSEL_MPU_MASK			EQU 0x03
BSP_PRCM_CM_CLKSEL_MPU_SET			EQU 0x02

    IF :DEF: BSP_CONFIGIII
BSP_PRCM_CM_CLKSEL_DSP_VAL			EQU 0x000023C3
BSP_PRCM_CM_CLKSEL1_CORE_VAL		EQU 0x08301044
BSP_PRCM_CM_CLKSEL1_PLL_VAL			EQU 0x01885600
    ELSE
BSP_PRCM_CM_CLKSEL_DSP_VAL			EQU 0x00000343
BSP_PRCM_CM_CLKSEL1_CORE_VAL		EQU 0x04301026
BSP_PRCM_CM_CLKSEL1_PLL_VAL			EQU 0x01819000
    ENDIF

BSP_PRCM_CM_CLKSEL_GFX_VAL			EQU 0x00000002


BSP_PRCM_CM_CLKEN_PLL_MASK2			EQU 0xC0
BSP_PRCM_CM_CLKEN_PLL_APLL_SET		EQU 0xC0

BSP_PRCM_CLKOUT_CTRL_MASK			EQU 0x03
BSP_PRCM_CLKOUT_CTRL_SET			EQU 0x81 ;enable bit number 0 for 12MHz sys clock out, 7 to enable sys clock out

BSP_PRCM_CLKEMUL_CTRL_VAL			EQU 0x1

BSP_PRCM_CM_xCLKENx_CORE_VAL		EQU 0xFFFFFFFF

BSP_PRCM_CM_CLKSEL2_CORE_VAL		EQU 0x00555554

BSP_PRCM_CM_CLKSEL_WKUP_VAL			EQU 0x01
BSP_PRCM_CM_FCLKEN_WKUP_VAL			EQU 0x0F
BSP_PRCM_CM_ICLKEN_WKUP_VAL			EQU 0x3F

    END

⌨️ 快捷键说明

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