1 /** @file 2 Definition for Pcal9555 I2c IO Expander. 3 4 Copyright (c) 2013-2015 Intel Corporation. 5 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 10 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. 13 14 15 **/ 16 17 #ifndef __PCAL9555_H__ 18 #define __PCAL9555_H__ 19 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 26 27 #define PCAL9555_REG_PULL_EN_PORT0 0x46 28 #define PCAL9555_REG_PULL_EN_PORT1 0x47 29 30 #endif 31