PlatformIO package of the Teensy core framework compatible with GCC 10 & C++20
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

SnoozeSkeletonDriverClass.h 542B

1234567891011121314151617181920
  1. #ifndef SnoozeSkeletonDriverClass_h
  2. #define SnoozeSkeletonDriverClass_h
  3. #include "SnoozeBlock.h"
  4. #include "Arduino.h"
  5. class SnoozeSkeletonDriverClass : public SnoozeBlock {
  6. private:
  7. virtual void disableDriver( uint8_t mode );
  8. virtual void enableDriver( uint8_t mode );
  9. virtual void clearIsrFlags( uint8_t mode );
  10. volatile uint32_t save_pin_config;
  11. int digital_pin;
  12. public:
  13. SnoozeSkeletonDriverClass(void) { isDriver = true; }
  14. void configure( int pin );
  15. };
  16. #endif /* defined(SnoozeSkeletonDriverClass_h) */