no modif
BusEnums.h@0:4e322ce31f59, 2012-09-04 (annotated)
- Committer:
- GuiTwo
- Date:
- Tue Sep 04 14:50:15 2012 +0000
- Revision:
- 0:4e322ce31f59
Modification for compatibility with Menbed (Menu);
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
GuiTwo | 0:4e322ce31f59 | 1 | /* BusEnums - Use the MBED Port pins and PCF8574s for controlling the Bus |
GuiTwo | 0:4e322ce31f59 | 2 | * Copyright (c) 2011 Wim Huiskamp |
GuiTwo | 0:4e322ce31f59 | 3 | * |
GuiTwo | 0:4e322ce31f59 | 4 | * Released under the MIT License: http://mbed.org/license/mit |
GuiTwo | 0:4e322ce31f59 | 5 | * |
GuiTwo | 0:4e322ce31f59 | 6 | * version 0.2 Initial Release |
GuiTwo | 0:4e322ce31f59 | 7 | */ |
GuiTwo | 0:4e322ce31f59 | 8 | #ifndef _BUS_ENUMS_H |
GuiTwo | 0:4e322ce31f59 | 9 | #define _BUS_ENUMS_H |
GuiTwo | 0:4e322ce31f59 | 10 | |
GuiTwo | 0:4e322ce31f59 | 11 | //Enums for Control Bus and Enable Bus |
GuiTwo | 0:4e322ce31f59 | 12 | enum Bit_Level { LOW, HIGH }; |
GuiTwo | 0:4e322ce31f59 | 13 | enum Bus_Dir { READ, WRITE }; |
GuiTwo | 0:4e322ce31f59 | 14 | enum Bus_Ena { ENABLE, DISABLE }; |
GuiTwo | 0:4e322ce31f59 | 15 | |
GuiTwo | 0:4e322ce31f59 | 16 | |
GuiTwo | 0:4e322ce31f59 | 17 | #endif |