Lucas Borges
/
MenuLCD_Copy
this locks like shit
Fork of MenuLCD_copy by
menbed/include/menbedButtonHandlerTimespec.h@1:f105b690aeb7, 2017-05-19 (annotated)
- Committer:
- LucasMatBorges
- Date:
- Fri May 19 18:48:04 2017 +0000
- Revision:
- 1:f105b690aeb7
- Parent:
- 0:92357d1220f3
R?row mein
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ViniR | 0:92357d1220f3 | 1 | #ifndef _MENBEDBUTTONHANDLERTIMESPEC_H_ |
ViniR | 0:92357d1220f3 | 2 | #define _MENBEDBUTTONHANDLERTIMESPEC_H_ |
ViniR | 0:92357d1220f3 | 3 | |
ViniR | 0:92357d1220f3 | 4 | #include "mbed.h" |
ViniR | 0:92357d1220f3 | 5 | |
ViniR | 0:92357d1220f3 | 6 | class MenbedButtonHandlerTimespec { |
ViniR | 0:92357d1220f3 | 7 | public: |
ViniR | 0:92357d1220f3 | 8 | uint32_t scanPeriod_us; |
ViniR | 0:92357d1220f3 | 9 | uint32_t debounceDelay_us; |
ViniR | 0:92357d1220f3 | 10 | uint32_t longReleaseDelay_us; |
ViniR | 0:92357d1220f3 | 11 | uint32_t typematicPeriod_us; |
ViniR | 0:92357d1220f3 | 12 | uint32_t typematicX10Delay_us; |
ViniR | 0:92357d1220f3 | 13 | uint32_t typematicX10Period_us; |
ViniR | 0:92357d1220f3 | 14 | |
ViniR | 0:92357d1220f3 | 15 | MenbedButtonHandlerTimespec (); |
ViniR | 0:92357d1220f3 | 16 | MenbedButtonHandlerTimespec (uint32_t scanPeriod_us, |
ViniR | 0:92357d1220f3 | 17 | uint32_t debounceDelay_us, |
ViniR | 0:92357d1220f3 | 18 | uint32_t longReleaseDelay_us, uint32_t typematicPeriod_us, |
ViniR | 0:92357d1220f3 | 19 | uint32_t typematicX10Delay_us, uint32_t typematicX10Period_us); |
ViniR | 0:92357d1220f3 | 20 | |
ViniR | 0:92357d1220f3 | 21 | bool dummy() {return false;} |
ViniR | 0:92357d1220f3 | 22 | }; |
ViniR | 0:92357d1220f3 | 23 | |
ViniR | 0:92357d1220f3 | 24 | #endif /* _MENBEDBUTTONHANDLERTIMESPEC_H_ */ |