iCub-main
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
strain::amplifier::PGA308::Impl::CFG0register Struct Reference

Public Member Functions

 CFG0register ()
 
 CFG0register (std::uint8_t GO, std::uint8_t MUX, std::uint8_t GI, std::uint8_t OS)
 
 CFG0register (std::uint16_t v)
 
void reset ()
 
void setDefault ()
 
void setGO (std::uint8_t GO)
 
std::uint8_t getGO () const
 
void setMUX (std::uint8_t MUX)
 
std::uint8_t getMUX () const
 
void setGI (std::uint8_t GI)
 
std::uint8_t getGI () const
 
void setOS (std::uint8_t OS)
 
std::uint8_t getOS () const
 

Public Attributes

std::uint16_t value
 

Static Public Attributes

static const std::uint8_t DefaultGO = 0x06
 
static const std::uint8_t DefaultGO_g_32_96 = 0x06
 
static const std::uint8_t DefaultGO_g_16_80 = 0x02
 
static const std::uint8_t DefaultGO_g_11_75 = 0x00
 
static const std::uint8_t DefaultMUX = 0x00
 
static const std::uint8_t DefaultGI = 0x04
 
static const std::uint8_t DefaultOS = 0x20
 

Detailed Description

Definition at line 106 of file strain.cpp.

Constructor & Destructor Documentation

◆ CFG0register() [1/3]

strain::amplifier::PGA308::Impl::CFG0register::CFG0register ( )
inline

Definition at line 122 of file strain.cpp.

◆ CFG0register() [2/3]

strain::amplifier::PGA308::Impl::CFG0register::CFG0register ( std::uint8_t  GO,
std::uint8_t  MUX,
std::uint8_t  GI,
std::uint8_t  OS 
)
inline

Definition at line 124 of file strain.cpp.

◆ CFG0register() [3/3]

strain::amplifier::PGA308::Impl::CFG0register::CFG0register ( std::uint16_t  v)
inline

Definition at line 133 of file strain.cpp.

Member Function Documentation

◆ getGI()

std::uint8_t strain::amplifier::PGA308::Impl::CFG0register::getGI ( ) const
inline

Definition at line 149 of file strain.cpp.

◆ getGO()

std::uint8_t strain::amplifier::PGA308::Impl::CFG0register::getGO ( ) const
inline

Definition at line 141 of file strain.cpp.

◆ getMUX()

std::uint8_t strain::amplifier::PGA308::Impl::CFG0register::getMUX ( ) const
inline

Definition at line 145 of file strain.cpp.

◆ getOS()

std::uint8_t strain::amplifier::PGA308::Impl::CFG0register::getOS ( ) const
inline

Definition at line 154 of file strain.cpp.

◆ reset()

void strain::amplifier::PGA308::Impl::CFG0register::reset ( )
inline

Definition at line 135 of file strain.cpp.

◆ setDefault()

void strain::amplifier::PGA308::Impl::CFG0register::setDefault ( )
inline

Definition at line 137 of file strain.cpp.

◆ setGI()

void strain::amplifier::PGA308::Impl::CFG0register::setGI ( std::uint8_t  GI)
inline

Definition at line 148 of file strain.cpp.

◆ setGO()

void strain::amplifier::PGA308::Impl::CFG0register::setGO ( std::uint8_t  GO)
inline

Definition at line 140 of file strain.cpp.

◆ setMUX()

void strain::amplifier::PGA308::Impl::CFG0register::setMUX ( std::uint8_t  MUX)
inline

Definition at line 144 of file strain.cpp.

◆ setOS()

void strain::amplifier::PGA308::Impl::CFG0register::setOS ( std::uint8_t  OS)
inline

Definition at line 153 of file strain.cpp.

Member Data Documentation

◆ DefaultGI

const std::uint8_t strain::amplifier::PGA308::Impl::CFG0register::DefaultGI = 0x04
static

Definition at line 115 of file strain.cpp.

◆ DefaultGO

const std::uint8_t strain::amplifier::PGA308::Impl::CFG0register::DefaultGO = 0x06
static

Definition at line 110 of file strain.cpp.

◆ DefaultGO_g_11_75

const std::uint8_t strain::amplifier::PGA308::Impl::CFG0register::DefaultGO_g_11_75 = 0x00
static

Definition at line 113 of file strain.cpp.

◆ DefaultGO_g_16_80

const std::uint8_t strain::amplifier::PGA308::Impl::CFG0register::DefaultGO_g_16_80 = 0x02
static

Definition at line 112 of file strain.cpp.

◆ DefaultGO_g_32_96

const std::uint8_t strain::amplifier::PGA308::Impl::CFG0register::DefaultGO_g_32_96 = 0x06
static

Definition at line 111 of file strain.cpp.

◆ DefaultMUX

const std::uint8_t strain::amplifier::PGA308::Impl::CFG0register::DefaultMUX = 0x00
static

Definition at line 114 of file strain.cpp.

◆ DefaultOS

const std::uint8_t strain::amplifier::PGA308::Impl::CFG0register::DefaultOS = 0x20
static

Definition at line 116 of file strain.cpp.

◆ value

std::uint16_t strain::amplifier::PGA308::Impl::CFG0register::value

Definition at line 108 of file strain.cpp.


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