PCF8574 I2C Portexpanders used to provide data, address and controlbus interface
BusEnums.h
- Committer:
- wim
- Date:
- 2015-01-25
- Revision:
- 0:12207c70f4ea
File content as of revision 0:12207c70f4ea:
/* 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