]>
git.proxmox.com Git - mirror_edk2.git/blob - QuarkPlatformPkg/Include/Pcal9555.h
2 Definition for Pcal9555 I2c IO Expander.
4 Copyright (c) 2013-2015 Intel Corporation.
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 #ifndef __PCAL9555_H__
18 #define __PCAL9555_H__
20 #define PCAL9555_REG_IN_PORT0 0x00
21 #define PCAL9555_REG_IN_PORT1 0x01
22 #define PCAL9555_REG_OUT_PORT0 0x02
23 #define PCAL9555_REG_OUT_PORT1 0x03
24 #define PCAL9555_REG_CFG_PORT0 0x06
25 #define PCAL9555_REG_CFG_PORT1 0x07
27 #define PCAL9555_REG_PULL_EN_PORT0 0x46
28 #define PCAL9555_REG_PULL_EN_PORT1 0x47