Class: PiDriver::Device::MCP23017::Intf

Inherits:
Register
  • Object
show all
Defined in:
lib/pi_driver/device/mcp23017/register/intf.rb

Instance Attribute Summary

Attributes inherited from Register

#address, #byte

Instance Method Summary collapse

Methods inherited from Register

#mirror_bits_from_byte, #mirror_byte_from_bits, #update_address

Constructor Details

#initialize(options) ⇒ Intf

Returns a new instance of Intf.



5
6
7
8
# File 'lib/pi_driver/device/mcp23017/register/intf.rb', line 5

def initialize(options)
  options[:register] = :intf
  super(options)
end