menelaus.h
来自「Linux Kernel 2.6.9 for OMAP1710」· C头文件 代码 · 共 85 行
H
85 行
/* * Copyright (C) 2004 Texas Instruments, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */#ifndef _MENELAUS_H#define _MENELAUS_H#define MENELAUS_REV 0x01#define MENELAUS_VCORE_CTRL1 0x02#define MENELAUS_VCORE_CTRL2 0x03#define MENELAUS_VCORE_CTRL3 0x04#define MENELAUS_VCORE_CTRL4 0x05#define MENELAUS_VCORE_CTRL5 0x06#define MENELAUS_DCDC_CTRL1 0x07#define MENELAUS_DCDC_CTRL2 0x08#define MENELAUS_DCDC_CTRL3 0x09#define MENELAUS_LDO_CTRL1 0x0A#define MENELAUS_LDO_CTRL2 0x0B#define MENELAUS_LDO_CTRL3 0x0C#define MENELAUS_LDO_CTRL4 0x0D#define MENELAUS_LDO_CTRL5 0x0E#define MENELAUS_LDO_CTRL6 0x0F#define MENELAUS_LDO_CTRL7 0x10#define MENELAUS_LDO_CTRL8 0x11#define MENELAUS_SLEEP_CTRL1 0x12#define MENELAUS_SLEEP_CTRL2 0x13#define MENELAUS_DEVICE_OFF 0x14#define MENELAUS_OSC_CTRL 0x15#define MENELAUS_DETECT_CTRL 0x16#define MENELAUS_INT_MASK1 0x17#define MENELAUS_INT_MASK2 0x18#define MENELAUS_INT_STATUS1 0x19#define MENELAUS_INT_STATUS2 0x1A#define MENELAUS_INT_ACK1 0x1B#define MENELAUS_INT_ACK2 0x1C#define MENELAUS_GPIO_CTRL 0x1D#define MENELAUS_GPIO_IN 0x1E#define MENELAUS_GPIO_OUT 0x1F#define MENELAUS_BBSMS 0x20#define MENELAUS_RTC_CTRL 0x21#define MENELAUS_RTC_UPDATE 0x22#define MENELAUS_RTC_SEC 0x23#define MENELAUS_RTC_MIN 0x24#define MENELAUS_RTC_HR 0x25#define MENELAUS_RTC_DAY 0x26#define MENELAUS_RTC_MON 0x27#define MENELAUS_RTC_YR 0x28#define MENELAUS_RTC_WKDAY 0x29#define MENELAUS_RTC_AL_SEC 0x2A#define MENELAUS_RTC_AL_MIN 0x2B#define MENELAUS_RTC_AL_HR 0x2C#define MENELAUS_RTC_AL_DAY 0x2D#define MENELAUS_RTC_AL_MON 0x2E#define MENELAUS_RTC_AL_YR 0x2F#define MENELAUS_RTC_COMP_MSB 0x30#define MENELAUS_RTC_COMP_LSB 0x31#define MENELAUS_S1_PULL_EN 0x32#define MENELAUS_S1_PULL_DIR 0x33#define MENELAUS_S2_PULL_EN 0x34#define MENELAUS_S2_PULL_DIR 0x35#define MENELAUS_MCT_CTRL1 0x36#define MENELAUS_MCT_CTRL2 0x37#define MENELAUS_MCT_CTRL3 0x38#define MENELAUS_MCT_PIN_ST 0x39#define MENELAUS_DEBOUNCE1 0x3As32 menelaus_read(u8 reg);s32 menelaus_write(u8 value, u8 reg);#endif /* _MENELAUS_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?