sdhc_sc24a0.reg

来自「S3C24A0的完整BSP包,对开发此芯片的开发者很有用.」· REG 代码 · 共 51 行

REG
51
字号
;
; Copyright (c) Microsoft Corporation.  All rights reserved.
;
;
; Use of this source code is subject to the terms of the Microsoft end-user
; license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
; If you did not accept the terms of the EULA, you are not authorized to use
; this source code. For a copy of the EULA, please see the LICENSE.RTF on your
; install media.
;
; This file is to be included in platform.reg if required.
;
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SDHC_SMDK24a0]
    "Order"=dword:21
    "Dll"="sdhc_sc24a0.dll"
    "Prefix"="SDH"
    
    "DMAChannel"=dword:2            ; DMA channel to use.  Set to 0xffffffff to disable DMA
    ;"DMAChannel"=dword:ffffffff            ; DMA channel to use.  Set to 0xffffffff to disable DMA
    
    
    "DMAIrq"=dword:22
    "DMA_IST_Priority"=dword:96

    "SDIOIrq"=dword:21 ; 0x21 = 33 dec defined as IRQ_SDMMC_SDIO_INTERRUPT
    "SDIO_IST_Priority"=dword:97
    
    "PollingTimeout"=dword:100      ; 256 ms
    "CardDetect_Thread_Priority"=dword:98
    
    "CardDetectGPIO"="L"            ; card detect on GPG10
    "CardDetectMask"=dword:20
    "CardDetectFlag"=dword:20
    "CardDetectControlMask"=dword:fffffffc
    "CardDetectControlFlag"=dword:0
    "CardDetectPullupMask"=dword:ffffffdf
    "CardDetectPullupFlag"=dword:0
    
    "CardReadWriteGPIO"="L"         ; card R/W on GPH8
    "CardReadWriteMask"=dword:1
    "CardReadWriteFlag"=dword:1
    "CardReadWriteControlMask"=dword:fffffffc
    "CardReadWriteControlFlag"=dword:0
    "CardReadWritePullupMask"=dword:fffffffe
    "CardReadWritePullupFlag"=dword:0

    "HandleBusyFinishOnCommand38"=dword:1
    "DmaTransferTimeoutFactor"=dword:8
    "DmaTransferTimeoutConstant"=dword:3000

⌨️ 快捷键说明

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