smartmontools SVN Rev 5640
Utility to control and monitor storage systems with "S.M.A.R.T."
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ata_reg_alias_16 Class Reference

16-bit alias to a 8-bit ATA register pair. More...

#include <dev_interface.h>

Collaboration diagram for ata_reg_alias_16:
Collaboration graph
[legend]

Public Member Functions

 ata_reg_alias_16 (ata_register &lo, ata_register &hi)
 
ata_reg_alias_16operator= (unsigned short x)
 
unsigned short val () const
 
 operator unsigned short () const
 

Private Member Functions

 ata_reg_alias_16 (const ata_reg_alias_16 &)
 
void operator= (const ata_reg_alias_16 &)
 

Private Attributes

ata_registerm_lo
 
ata_registerm_hi
 

Detailed Description

16-bit alias to a 8-bit ATA register pair.

Definition at line 320 of file dev_interface.h.

Constructor & Destructor Documentation

◆ ata_reg_alias_16() [1/2]

ata_reg_alias_16::ata_reg_alias_16 ( ata_register lo,
ata_register hi 
)
inline

Definition at line 323 of file dev_interface.h.

◆ ata_reg_alias_16() [2/2]

ata_reg_alias_16::ata_reg_alias_16 ( const ata_reg_alias_16 )
private

Member Function Documentation

◆ operator unsigned short()

ata_reg_alias_16::operator unsigned short ( ) const
inline

Definition at line 333 of file dev_interface.h.

◆ operator=() [1/2]

void ata_reg_alias_16::operator= ( const ata_reg_alias_16 )
private

◆ operator=() [2/2]

ata_reg_alias_16 & ata_reg_alias_16::operator= ( unsigned short  x)
inline

Definition at line 326 of file dev_interface.h.

◆ val()

unsigned short ata_reg_alias_16::val ( ) const
inline

Definition at line 331 of file dev_interface.h.

Member Data Documentation

◆ m_hi

ata_register & ata_reg_alias_16::m_hi
private

Definition at line 337 of file dev_interface.h.

◆ m_lo

ata_register& ata_reg_alias_16::m_lo
private

Definition at line 337 of file dev_interface.h.


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