bsp_gpio_cfg.inc

来自「Windows CE 6.0 BSP for the Beagle Board.」· INC 代码 · 共 59 行

INC
59
字号
;
; 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.
;
;------------------------------------------------------------------------------
;
;  File:  bsp_gpio_cfg.inc
;


;------------------------------------------------------------------------------
;
;  Defines:  BSP_GPIO_OE_x 1-Input,0-Output
;

;  GPIO_31 - GPIO_0  
;
;  GPIO_6:  KBD row 4 input
;  GPIO_11: KBD row 3 input
;  GPIO_12: KBD column 4 output
;  GPIO_15: KBD column 2 output
;  GPIO_25: Camera I2C enable

BSP_GPIO_OE_1			EQU	0xFDFF6FFF

;  GPIO_63 - GPIO_32  
;
;  GPIO_36: KBD column 3 output
;  GPIO_38: KBD column 6 output

BSP_GPIO_OE_2			EQU	0xFFFFFFAF

;  GPIO_95 - GPIO_64  
;
;  GPIO_88: KBD row 0 input
;  GPIO_89: KBD row 1 input
;  GPIO_90: KBD column 0 output
;  GPIO_91: KBD column 1 output

BSP_GPIO_OE_3			EQU	0xF3FFFFFF

;  GPIO_127 - GPIO_96  
;
;  GPIO_97:  KBD column 5 output
;  GPIO_124: KBD row 2 input

BSP_GPIO_OE_4			EQU	0xFFFFFFFD
;------------------------------------------------------------------------------

			END

⌨️ 快捷键说明

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