Very simple class for interacting with the CD40147 Priority Encoder chip
Diff: CD40147.h
- Revision:
- 1:84213005a5d8
- Parent:
- 0:41932be18e2f
--- a/CD40147.h Tue Mar 21 22:04:08 2017 +0000 +++ b/CD40147.h Thu Nov 30 21:22:55 2017 +0000 @@ -14,12 +14,12 @@ /** * Create an instance * - * @param a Data input line for least significat bit (bit 0) - * @param b Data input line for bit 1 - * @param c Data input line for bit 2 - * @param d Data input line for most significat bit (bit 3) + * @param d0 Data input line for least significat bit (bit 0) + * @param d1 Data input line for bit 1 + * @param d2 Data input line for bit 2 + * @param d3 Data input line for most significat bit (bit 3) */ - inline CD40147(PinName a, PinName b, PinName c, PinName d) : _in(a,b,c,d) {} + inline CD40147(PinName d0, PinName d1, PinName d2, PinName d3) : _in(d0, d1, d2, d3) {} /** * Provides the highest valued input that was set, as this is a priority