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

📄 portconfig.h

📁 基于MMA7260QR2的跌落检查程序
💻 H
字号:
/************************************************************************************
* This is a template header file.
*
* Author(s): B02753
*
* (c) Copyright 2005, Freescale, Inc.  All rights reserved.
*
* No part of this document must be reproduced in any form - including copied,
* transcribed, printed or by any electronic means - without specific written
* permission from Freescale.
*
************************************************************************************/
#ifndef _PORT_CONFIG_H_
#define _PORT_CONFIG_H_

/************************************************************************************
*************************************************************************************
* Public macros
*************************************************************************************
************************************************************************************/

/* BEGIN GPIO Register Values */
  #define gDirLoValue_c               0x03c00000     //MBAR_GPIO + 0x00
  #define gDirHiValue_c               0x00000000     //MBAR_GPIO + 0x04
  #define gDataLoValue_c              0x03c00000     //MBAR_GPIO + 0x08
  #define gDataHiValue_c              0x00000000     //MBAR_GPIO + 0x0C
  #define gPuEnLoValue_c              0xffffffff     //MBAR_GPIO + 0x10
  #define gPuEnHiValue_c              0xffffffff     //MBAR_GPIO + 0x14
  #define gFuncSel0Value_c            0x00000000     //MBAR_GPIO + 0x18
  #define gFuncSel1Value_c            0x00000000     //MBAR_GPIO + 0x1C
  #define gFuncSel2Value_c            0x00000000     //MBAR_GPIO + 0x20
  #define gFuncSel3Value_c            0x00000000     //MBAR_GPIO + 0x24
  #define gInputDataSelLoValue_c      0x00000000     //MBAR_GPIO + 0x28
  #define gInputDataSelHiValue_c      0x00000000     //MBAR_GPIO + 0x2C
  #define gPuSelLoValue_c             0x00003000     //MBAR_GPIO + 0x30
  #define gPuSelHiValue_c             0x8001c000     //MBAR_GPIO + 0x34
  #define gHystEnLoValue_c            0x00000000     //MBAR_GPIO + 0x38
  #define gHystEnHiValue_c            0x00000000     //MBAR_GPIO + 0x3C
  #define gPuKeepLoValue_c            0xc0000000     //MBAR_GPIO + 0x40
  #define gPuKeepHiValue_c            0x000000df     //MBAR_GPIO + 0x44
/* END GPIO Register Values */
  
/************************************************************************************
*************************************************************************************
* Public prototypes
*************************************************************************************
************************************************************************************/

/************************************************************************************
*************************************************************************************
* Public type definitions
*************************************************************************************
************************************************************************************/

/************************************************************************************
*************************************************************************************
* Public memory declarations
*************************************************************************************
************************************************************************************/

/************************************************************************************
*************************************************************************************
* Public functions
*************************************************************************************
************************************************************************************/
#endif /* _PORT_CONFIG_H_ */

⌨️ 快捷键说明

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