]>
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 | |
0eb3de2e | 6 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
b303605e MK |
7 | \r |
8 | \r | |
9 | **/\r | |
10 | \r | |
11 | #ifndef __PCAL9555_H__\r | |
12 | #define __PCAL9555_H__\r | |
13 | \r | |
14 | #define PCAL9555_REG_IN_PORT0 0x00\r | |
15 | #define PCAL9555_REG_IN_PORT1 0x01\r | |
16 | #define PCAL9555_REG_OUT_PORT0 0x02\r | |
17 | #define PCAL9555_REG_OUT_PORT1 0x03\r | |
18 | #define PCAL9555_REG_CFG_PORT0 0x06\r | |
19 | #define PCAL9555_REG_CFG_PORT1 0x07\r | |
20 | \r | |
21 | #define PCAL9555_REG_PULL_EN_PORT0 0x46\r | |
22 | #define PCAL9555_REG_PULL_EN_PORT1 0x47\r | |
23 | \r | |
24 | #endif\r |