summaryrefslogtreecommitdiffstats
path: root/QuarkPlatformPkg/Include/Pcal9555.h
blob: 2b7efad00bffa456071454caaf8a6da005efc4e0 (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
25
26
27
28
29
30
/** @file
Definition for Pcal9555 I2c IO Expander.

Copyright (c) 2013-2015 Intel Corporation.

This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution.  The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.


**/

#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