Libraries and Example of mbed parallel bus using I2C port expanders
Dependencies: HDSP253X mbed PCF8574_Bus
Utils.h@2:1dab1089c332, 2011-08-20 (annotated)
- Committer:
- wim
- Date:
- Sat Aug 20 12:49:44 2011 +0000
- Revision:
- 2:1dab1089c332
First commit, testloop
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
wim |
2:1dab1089c332 | 1 | /* Utils - Useful stuff to simplify porting of some third party software |
wim |
2:1dab1089c332 | 2 | * Copyright (c) 2011 Wim Huiskamp |
wim |
2:1dab1089c332 | 3 | * |
wim |
2:1dab1089c332 | 4 | * Released under the MIT License: http://mbed.org/license/mit |
wim |
2:1dab1089c332 | 5 | * |
wim |
2:1dab1089c332 | 6 | * version 0.2 Initial Release |
wim |
2:1dab1089c332 | 7 | */ |
wim |
2:1dab1089c332 | 8 | #ifndef _UTILS_H |
wim |
2:1dab1089c332 | 9 | #define _UTILS_H |
wim |
2:1dab1089c332 | 10 | |
wim |
2:1dab1089c332 | 11 | //Typedefs |
wim |
2:1dab1089c332 | 12 | |
wim |
2:1dab1089c332 | 13 | #ifndef min |
wim |
2:1dab1089c332 | 14 | #define min(_a,_b) ((_a) < (_b) ? (_a) : (_b)) |
wim |
2:1dab1089c332 | 15 | #endif |
wim |
2:1dab1089c332 | 16 | |
wim |
2:1dab1089c332 | 17 | |
wim |
2:1dab1089c332 | 18 | #endif |