Commit | Line | Data |
---|---|---|
b303605e MK |
1 | /** @file\r |
2 | Definition for Pcal9555 I2c IO Expander.\r | |
3 | \r | |
4 | Copyright (c) 2013-2015 Intel Corporation.\r | |
5 | \r | |
6 | This program and the accompanying materials\r | |
7 | are licensed and made available under the terms and conditions of the BSD License\r | |
8 | which accompanies this distribution. The full text of the license may be found at\r | |
9 | http://opensource.org/licenses/bsd-license.php\r | |
10 | \r | |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
12 | WITHOUT 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 |