|
1234567891011121314151617181920 |
- #ifndef SnoozeSkeletonDriverClass_h
- #define SnoozeSkeletonDriverClass_h
-
- #include "SnoozeBlock.h"
- #include "Arduino.h"
-
- class SnoozeSkeletonDriverClass : public SnoozeBlock {
- private:
- virtual void disableDriver( uint8_t mode );
- virtual void enableDriver( uint8_t mode );
- virtual void clearIsrFlags( uint8_t mode );
- volatile uint32_t save_pin_config;
- int digital_pin;
-
- public:
- SnoozeSkeletonDriverClass(void) { isDriver = true; }
- void configure( int pin );
- };
-
- #endif /* defined(SnoozeSkeletonDriverClass_h) */
|