StuBS
PIT::Control Union Reference

Classes

struct  [struct].__unnamed0__
 I/O-port bitmap for the NMI Status and Control Register. More...

Public Member Functions

 Control (uint8_t value)
 Constructor.
 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 value

Class Documentation

◆ PIT::Control::[struct].__unnamed0__

struct PIT::Control::[struct].__unnamed0__

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
Class Members
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
uint8_t refresh_cycle_toggle: 1 not important, must be 0 on write
uint8_t status_timer_counter2: 1 will be set on timer expiration; must be 0 on write
uint8_t status_iochk_nmi_source: 1 not important, must be 0 on write
uint8_t status_serr_nmi_source: 1 not important, must be 0 on write

Constructor & Destructor Documentation

◆ Control() [1/2]

PIT::Control::Control ( uint8_t value)
inlineexplicit

Constructor.

Parameters
valueNumeric value for the control register

◆ Control() [2/2]

PIT::Control::Control ( )
inline

Default constructor Automatically reads the current contents from the control register.

Member Function Documentation

◆ write()

void PIT::Control::write ( ) const
inline

Write the current state to the control register.

Member Data Documentation

◆ @210246250363116177336345142210245077222306066040

◆ value

uint8_t PIT::Control::value

The documentation for this union was generated from the following file: