PCF8574 I2C Portexpanders used to provide data, address and controlbus interface
Diff: BusEnums.h
- Revision:
- 0:12207c70f4ea
diff -r 000000000000 -r 12207c70f4ea BusEnums.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/BusEnums.h Sun Jan 25 17:50:03 2015 +0000 @@ -0,0 +1,17 @@ +/* BusEnums - Use the MBED Port pins and PCF8574s for controlling the Bus + * Copyright (c) 2011 Wim Huiskamp + * + * Released under the MIT License: http://mbed.org/license/mit + * + * version 0.2 Initial Release +*/ +#ifndef _BUS_ENUMS_H +#define _BUS_ENUMS_H + +//Enums for Control Bus and Enable Bus +enum Bit_Level { LOW, HIGH }; +enum Bus_Dir { READ, WRITE }; +enum Bus_Ena { ENABLE, DISABLE }; + + +#endif \ No newline at end of file