summaryrefslogtreecommitdiff
path: root/QuarkPlatformPkg/Include/Pcal9555.h
blob: a9aded7b310e8133a2004a7d4ab40cb778c2991e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/** @file
Definition for Pcal9555 I2c IO Expander.

Copyright (c) 2013-2015 Intel Corporation.

SPDX-License-Identifier: BSD-2-Clause-Patent


**/

#ifndef __PCAL9555_H__
#define __PCAL9555_H__

#define PCAL9555_REG_IN_PORT0                        0x00
#define PCAL9555_REG_IN_PORT1                        0x01
#define PCAL9555_REG_OUT_PORT0                       0x02
#define PCAL9555_REG_OUT_PORT1                       0x03
#define PCAL9555_REG_CFG_PORT0                       0x06
#define PCAL9555_REG_CFG_PORT1                       0x07

#define PCAL9555_REG_PULL_EN_PORT0                   0x46
#define PCAL9555_REG_PULL_EN_PORT1                   0x47

#endif