7#ifndef MFRAME_FBF90B99_35F5_429B_B9EF_6AFB9BF6C331
8#define MFRAME_FBF90B99_35F5_429B_B9EF_6AFB9BF6C331
15#include "./../hw/PulseTimer.h"
16#include "./../lang/Object.h"
17#include "./../lang/Updatable.h"
122 uint32 debounce = 10000UL,
123 uint32 shortPress = 100000UL,
124 uint32 longPress = 2000000UL);
180 this->vLongPressThreshold = micros;
189 this->vShortPressThreshold = micros;
198 this->vNagetive = nagetive;
208 this->vEvent = event;
218 return this->vPulseTimer;
229 void handleRise(uint32 micros);
231 void handleFall(uint32 micros);
脈衝計時器類
Definition PulseTimer.h:41
物件基底類別
Definition Object.h:63
[Interface] 邊緣觸發事件處理介面。
Definition EdgeTrigger.h:102
[Interface] 高低電平持續時間事件處理介面。
Definition PulseTimer.h:64
[Interface] 定義可更新的物件介面
Definition Updatable.h:38