Maxim Integrated / OneWire

Dependents:   MAXREFDES131_Qt_Demo MAX32630FTHR_iButton_uSD_Logger MAX32630FTHR_DS18B20_uSD_Logger MAXREFDES130_131_Demo ... more

Embed: (wiki syntax)

« Back to documentation index

DS248x::Config Class Reference

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.
uint8_t writeByte () const
 Byte respresentation that is written to the DS248x.
void reset ()
 Reset to the power-on default config.
bool get1WS () const
bool getSPU () const
bool getPDN () const
bool getAPU () const

Detailed Description

Represents a DS248x configuration.

Definition at line 57 of file DS248x.h.


Member Function Documentation

bool get1WS (  ) const

1-Wire Speed

Definition at line 62 of file DS248x.h.

bool getAPU (  ) const

Active Pullup

Definition at line 80 of file DS248x.h.

bool getPDN (  ) const

1-Wire Power Down

Definition at line 74 of file DS248x.h.

bool getSPU (  ) const

Strong Pullup

Definition at line 68 of file DS248x.h.

uint8_t readByte (  ) const

Byte representation that is read from the DS248x.

void reset (  )

Reset to the power-on default config.

uint8_t writeByte (  ) const

Byte respresentation that is written to the DS248x.