 
			
		The Ticker device demonstrates HPET interrupts. More...
#include <device/ticker.h>
 Inheritance diagram for Ticker:
 Inheritance diagram for Ticker: Collaboration diagram for Ticker:
 Collaboration diagram for Ticker:| Public Member Functions | |
| bool | windup (uint64_t us) | 
| Windup / initialize.  More... | |
| bool | prologue () override | 
| Prologue of timer interrupts.  More... | |
| void | epilogue () override | 
| Epilogue of timer interrupts.  More... | |
| uint64_t | interval () const | 
| Retrieve the interrupt interval.  More... | |
| void | activate () | 
| Activate the timer.  More... | |
| void | stop () | 
| Stop the timer.  More... | |
|  Public Member Functions inherited from Gate | |
| Gate () | |
| Constructor. | |
| virtual | ~Gate () | 
| Destructor.  More... | |
The Ticker device demonstrates HPET interrupts.
Periodic HPET interrupts increase the counter, which is displayed on a designated spot on the screen and shows the current systems runtime.
| bool Ticker::windup | ( | uint64_t | us | ) | 
Windup / initialize.
Assigns itself to the Plugbox and initializes a HPET::Comparator in such a way that regular interrupts are triggered approx. every us microseconds when Ticker::activate() is called.
| us | Desired interrupt interval in microseconds. | 
| 
 | overridevirtual | 
Prologue of timer interrupts.
true if the interrupt was issued by the HPET and Ticker::epilogue should be executed. Implements Gate.
| 
 | overridevirtual | 
Epilogue of timer interrupts.
Increases and displays the counter value (uptime)
Reimplemented from Gate.
| 
 | inline | 
Retrieve the interrupt interval.
| 
 | inline | 
Activate the timer.
| 
 | inline | 
Stop the timer.