C++ Crashkurs
HPET::Comparator::ConfigAndCapabilitiesRegister Union Reference
Access Helper for comparators configuration register. More...
#include <machine/hpet.h>
Public Member Functions | |
ConfigAndCapabilitiesRegister (const uint64_t value) | |
Constructor. More... | |
Public Attributes | |
struct { | |
uint64_t | __pad0__: 1 |
TriggerMode | trigger_mode: 1 |
Generate edge or level triggered interrupts. | |
uint64_t | interrupt_status: 1 |
Enable (1 ) or disable (0 ) interrupts. | |
ComparatorMode | comparator_mode: 1 |
periodic or one shot mode | |
uint64_t | periodic_capable: 1 |
Is timer capable of periodic mode (read-only) | |
CounterSize | counter_size: 1 |
32- or 64bit size (read-only) | |
uint64_t | set_value: 1 |
if set to 1, the accumulator can be set in software | |
uint64_t | __pad1__: 1 |
uint64_t | small_mode: 1 |
if set to 1 while supporting 64bit size, the timer runs in 32-bit mode | |
uint64_t | ioapic_slot: 5 |
I/O-APIC slot (must be set in mask supported_ioapic_slots ) | |
uint64_t | fsb_interrupt_enabled: 1 |
if set to 1, the timer will use FSB interrupt mapping | |
uint64_t | fsb_interrupt_delivery: 1 |
if set to 1, the timer supports FSB interrupt mapping (read-only) | |
uint64_t | __pad2__: 16 |
uint64_t | supported_ioapic_slots: 32 |
bit mask containing the supported I/O APIC slots (read-only) | |
}; | |
uint64_t | value |
Detailed Description
Access Helper for comparators configuration register.
Constructor & Destructor Documentation
|
inlineexplicit |
Constructor.
- Note
- Only perform 32- or 64-bit access by using a temporary copy for modifying its contents.
The documentation for this union was generated from the following file:
- machine/hpet.h