2020-04-08 01:50:13 +00:00
|
|
|
#ifndef __INTERFACES_INTERRUPT_INTERFACE_H__
|
|
|
|
#define __INTERFACES_INTERRUPT_INTERFACE_H__
|
|
|
|
|
|
|
|
namespace pinetime::interfaces {
|
|
|
|
|
2020-04-10 06:14:36 +00:00
|
|
|
class InterruptHandlerInterface
|
2020-04-08 01:50:13 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void handle() = 0;
|
|
|
|
virtual void enable() = 0;
|
|
|
|
virtual void disable() = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|