Skip to content

DS2484 1-Wire Master

Driver for the Maxim DS2484 I²C-to-1-Wire bridge.

Functions Overview

Name
voidds2484_init(int i2c_dev, bool od)
Initializes the DS2484 1-Wire master on the given I²C bus.
voidds2484_reset()
Issues a 1-Wire reset pulse on the bus.

Function Details

function ds2484_init

cpp
void ds2484_init(
    int i2c_dev,
    bool od
)

Initializes the DS2484 1-Wire master on the given I²C bus.

Parameters:

  • i2c_dev Device handle of the I²C bus (as returned by [open()](/embed/2.2.0/API//group__core__driver.md#function-open)).
  • od true to enable 1-Wire overdrive timing, false for standard speed.

function ds2484_reset

cpp
void ds2484_reset()

Issues a 1-Wire reset pulse on the bus.

Triggers the standard 1-Wire reset / presence-detect sequence so attached slave devices are returned to a known state.