NAME
"Device::Chip::ADT7470" - chip driver for an ADT7470
SYNOPSIS
use Device::Chip::ADT7470;
my $chip = Device::Chip::ADT7470->new;
$chip->mount( Device::Chip::Adapter::...->new )->get;
printf "Current fan 1 speed is %d rpm\n", $chip->read_fan_rpm( 1 )->get;
DESCRIPTION
This Device::Chip subclass provides specific communication to a Analog
Devices ADT7470 attached to a computer via an I²C adapter.
Only a subset of the chip's capabilities are currently accessible
through this driver.
The reader is presumed to be familiar with the general operation of this
chip; the documentation here will not attempt to explain or define
chip-specific concepts or features, only the use of this module to
access them.
MOUNT PARAMETERS
addr
The I²C address of the device. Can be specified in decimal, octal or hex
with leading 0 or "0x" prefixes.
METHODS
The following methods documented with a trailing call to "->get" return
Future instances.
read_config
$config = $chip->read_config->get
Returns a "HASH" reference of the contents of the user register.