Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
BusEnums_copy.h@2:6a8fbb08d519, 2012-09-04 (annotated)
- Committer:
- GuiTwo
- Date:
- Tue Sep 04 14:51:17 2012 +0000
- Revision:
- 2:6a8fbb08d519
Modification for Menbed menu compatibility;
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| GuiTwo | 2:6a8fbb08d519 | 1 | /* BusEnums - Use the MBED Port pins and PCF8574s for controlling the Bus |
| GuiTwo | 2:6a8fbb08d519 | 2 | * Copyright (c) 2011 Wim Huiskamp |
| GuiTwo | 2:6a8fbb08d519 | 3 | * |
| GuiTwo | 2:6a8fbb08d519 | 4 | * Released under the MIT License: http://mbed.org/license/mit |
| GuiTwo | 2:6a8fbb08d519 | 5 | * |
| GuiTwo | 2:6a8fbb08d519 | 6 | * version 0.2 Initial Release |
| GuiTwo | 2:6a8fbb08d519 | 7 | */ |
| GuiTwo | 2:6a8fbb08d519 | 8 | #ifndef _BUS_ENUMS_H |
| GuiTwo | 2:6a8fbb08d519 | 9 | #define _BUS_ENUMS_H |
| GuiTwo | 2:6a8fbb08d519 | 10 | |
| GuiTwo | 2:6a8fbb08d519 | 11 | //Enums for Control Bus and Enable Bus |
| GuiTwo | 2:6a8fbb08d519 | 12 | enum Bit_Level { LOW, HIGH }; |
| GuiTwo | 2:6a8fbb08d519 | 13 | enum Bus_Dir { READ, WRITE }; |
| GuiTwo | 2:6a8fbb08d519 | 14 | enum Bus_Ena { ENABLE, DISABLE }; |
| GuiTwo | 2:6a8fbb08d519 | 15 | |
| GuiTwo | 2:6a8fbb08d519 | 16 | |
| GuiTwo | 2:6a8fbb08d519 | 17 | #endif |