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