StuBS
PIT::Mode Union Reference

Classes

struct  [struct].__unnamed0__

Public Member Functions

 Mode (uint8_t value)
 Constructor for mode, takes the numeric value.
 Mode (AccessMode access, OperatingMode operating, Format format)
 Constructor for counting mode.
 Mode ()
 (Default) constructor for reading the counter value
void write () const
 Write the value to the mode register.

Public Attributes

struct  
uint8_t value

Class Documentation

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

struct PIT::Mode::[struct].__unnamed0__
Class Members
Format format: 1
OperatingMode operating: 3
AccessMode access: 2
uint8_t channel: 2

Constructor & Destructor Documentation

◆ Mode() [1/3]

PIT::Mode::Mode ( uint8_t value)
inlineexplicit

Constructor for mode, takes the numeric value.

◆ Mode() [2/3]

PIT::Mode::Mode ( AccessMode access,
OperatingMode operating,
Format format )
inline

Constructor for counting mode.

Parameters
accessAccess mode to the 16-bit counter value
operatingOperating mode for the counter
formatNumber format for the 16-bit counter values (binary or BCD)

◆ Mode() [3/3]

PIT::Mode::Mode ( )
inline

(Default) constructor for reading the counter value

Member Function Documentation

◆ write()

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

Write the value to the mode register.

Member Data Documentation

◆ @304172357226132141355367335302021113010315111325

◆ value

uint8_t PIT::Mode::value

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