Module: Denko::Behaviors::BusPeripheralAddressed

Includes:
BusPeripheral, Lifecycle
Included in:
I2C::Peripheral, OneWire::Peripheral
Defined in:
lib/denko/behaviors/bus_peripheral_addressed.rb

Constant Summary

Constants included from Lifecycle

Lifecycle::CALLBACK_METHODS

Instance Attribute Summary

Attributes included from Component

#board, #params

Attributes included from State

#state

Instance Method Summary collapse

Methods included from Lifecycle

included

Methods included from BusPeripheral

#atomically

Methods included from Component

#initialize, #micro_delay

Methods included from State

#update_state

Instance Method Details

#addressObject



7
8
9
# File 'lib/denko/behaviors/bus_peripheral_addressed.rb', line 7

def address
  @address ||= params[:address]
end