OOStuBS - Technische Informatik II (TI-II)  2.4
watch.h
gehe zur Dokumentation dieser Datei
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\
2  * Technische Informatik II *
3  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
4  * *
5  * W A T C H *
6  * *
7 \* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
8 
9 #ifndef __watch_include__
10 #define __watch_include__
11 
12 /* * * * * * * * * * * * * * * * * * * * * * * * *\
13 # INCLUDES #
14 \* * * * * * * * * * * * * * * * * * * * * * * * */
16 #include "machine/pit.h"
17 
18 
19 /* * * * * * * * * * * * * * * * * * * * * * * * *\
20 # CLASSES #
21 \* * * * * * * * * * * * * * * * * * * * * * * * */
29 class Watch : public PIT, public InterruptHandler {
30 public:
41  void windup(unsigned int us);
42 
51  virtual void trigger();
52 };
53 
54 #endif