OneWire Library for Arduino  version: 1.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator
OneWire::DS248x::Config Class Reference

Represents a DS248x configuration. More...

#include <DS248x.h>

Public Member Functions

uint8_t readByte () const
 Byte representation that is read from the DS248x. More...
 
uint8_t writeByte () const
 Byte respresentation that is written to the DS248x. More...
 
void reset ()
 Reset to the power-on default config. More...
 
 Config ()
 
bool get1WS () const
 
void set1WS (bool new1WS)
 
bool getSPU () const
 
void setSPU (bool newSPU)
 
bool getPDN () const
 
void setPDN (bool newPDN)
 
bool getAPU () const
 
void setAPU (bool newAPU)
 

Detailed Description

Represents a DS248x configuration.

Constructor & Destructor Documentation

OneWire::DS248x::Config::Config ( )
inline

Member Function Documentation

bool OneWire::DS248x::Config::get1WS ( ) const
inline

1-Wire Speed

bool OneWire::DS248x::Config::getAPU ( ) const
inline

Active Pullup

bool OneWire::DS248x::Config::getPDN ( ) const
inline

1-Wire Power Down

bool OneWire::DS248x::Config::getSPU ( ) const
inline

Strong Pullup

uint8_t DS248x::Config::readByte ( ) const

Byte representation that is read from the DS248x.

void DS248x::Config::reset ( )

Reset to the power-on default config.

void OneWire::DS248x::Config::set1WS ( bool  new1WS)
inline
void OneWire::DS248x::Config::setAPU ( bool  newAPU)
inline
void OneWire::DS248x::Config::setPDN ( bool  newPDN)
inline
void OneWire::DS248x::Config::setSPU ( bool  newSPU)
inline
uint8_t DS248x::Config::writeByte ( ) const

Byte respresentation that is written to the DS248x.


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