PIT::Control Union Reference
Public Member Functions | |
| Control (uint8_t value) | |
| Constructor. More... | |
| Control () | |
| Default constructor Automatically reads the current contents from the control register. | |
| void | write () const |
| Write the current state to the control register. | |
Public Attributes | |
| struct { | |
| uint8_t | enable_timer_counter2: 1 |
| If enabled, the interrupt state will be visible at status_timer_counter2. | |
| uint8_t | enable_speaker_data: 1 |
| If set, speaker output is equal to status_timer_counter2. | |
| uint8_t | enable_pci_serr: 1 |
| not important, do not modify | |
| uint8_t | enable_nmi_iochk: 1 |
| not important, do not modify | |
| const uint8_t | refresh_cycle_toggle: 1 |
| not important, must be 0 on write | |
| const uint8_t | status_timer_counter2: 1 |
| will be set on timer expiration; must be 0 on write | |
| const uint8_t | status_iochk_nmi_source: 1 |
| not important, must be 0 on write | |
| const uint8_t | status_serr_nmi_source: 1 |
| not important, must be 0 on write | |
| }; | |
| I/O-port bitmap for the NMI Status and Control Register. More... | |
| uint8_t | value |
Constructor & Destructor Documentation
|
inlineexplicit |
Constructor.
- Parameters
-
value Numeric value for the control register
Member Data Documentation
| struct { ... } |
I/O-port bitmap for the NMI Status and Control Register.
- Note
- Over time, the meaning of the bits stored at I/O port 0x61 changed; don't get the structure confused with old documentation on the IBM PC XT platform.
- See also
- Intel® I/O Controller Hub 7 (ICH7) Family, page 415
The documentation for this union was generated from the following file:
- machine/pit.cc