PCF8574 I2C Portexpanders used to provide data, address and controlbus interface

Dependents:   mbed_bus

Committer:
wim
Date:
Sun Jan 25 17:50:03 2015 +0000
Revision:
0:12207c70f4ea
PCF8574 Bus Class. First release, converted into lib.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
wim 0:12207c70f4ea 1 /* BusEnums - Use the MBED Port pins and PCF8574s for controlling the Bus
wim 0:12207c70f4ea 2 * Copyright (c) 2011 Wim Huiskamp
wim 0:12207c70f4ea 3 *
wim 0:12207c70f4ea 4 * Released under the MIT License: http://mbed.org/license/mit
wim 0:12207c70f4ea 5 *
wim 0:12207c70f4ea 6 * version 0.2 Initial Release
wim 0:12207c70f4ea 7 */
wim 0:12207c70f4ea 8 #ifndef _BUS_ENUMS_H
wim 0:12207c70f4ea 9 #define _BUS_ENUMS_H
wim 0:12207c70f4ea 10
wim 0:12207c70f4ea 11 //Enums for Control Bus and Enable Bus
wim 0:12207c70f4ea 12 enum Bit_Level { LOW, HIGH };
wim 0:12207c70f4ea 13 enum Bus_Dir { READ, WRITE };
wim 0:12207c70f4ea 14 enum Bus_Ena { ENABLE, DISABLE };
wim 0:12207c70f4ea 15
wim 0:12207c70f4ea 16
wim 0:12207c70f4ea 17 #endif