Replacement for regular GPIO (DigitalIn, DigitalOut, DigitalInOut) classes which has superior speed. (modified for use opendrain in stm32)
Fork of FastIO by
Diff: FastIO.h
- Revision:
- 9:6e0f24f71081
- Parent:
- 8:b0d725519c4f
--- a/FastIO.h Tue Aug 12 07:15:20 2014 +0000 +++ b/FastIO.h Fri Sep 05 04:48:50 2014 +0000 @@ -108,6 +108,8 @@ FastInOut<pin>::FastInOut(); write(initial); SET_DIR_OUTPUT; + SET_FUNCTION; + } FastOut& operator= (int value) {