Packagefunnel.i2c
Classpublic class HMC6352
InheritanceHMC6352 Inheritance I2CDevice
Implementsflash.events.IEventDispatcher

This is the class to express HMC6352 devices



Public Properties
 PropertyDefined by
 Inheritedaddress : uint
I2CDevice
 Inheritedcommand : uint
I2CDevice
  heading : Number
[read-only]
HMC6352
Protected Properties
 PropertyDefined by
 Inherited_delay : uint = 0
[static]
I2CDevice
 Inherited_io : IOModule
I2CDevice
Public Methods
 MethodDefined by
  
HMC6352(ioModule:*, address:uint = 0x21)
HMC6352
  
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
HMC6352
  
dispatchEvent(evt:Event):Boolean
HMC6352
  
HMC6352
  
HMC6352
  
handleSysex(command:uint, data:Array):void
HMC6352
  
hasEventListener(type:String):Boolean
HMC6352
  
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
HMC6352
 Inherited
update():void
I2CDevice
  
willTrigger(type:String):Boolean
HMC6352
Public Constants
 ConstantDefined by
 InheritedI2C_ADDRESS_BASE : uint = 15488
[static]
I2CDevice
 InheritedI2C_CONFIG : uint = 0x78
[static]
I2CDevice
 InheritedI2C_REPLY : uint = 0x77
[static]
I2CDevice
 InheritedI2C_REQUEST : uint = 0x76
[static]
I2CDevice
Protected Constants
 ConstantDefined by
 InheritedREAD : uint = 1
[static]
I2CDevice
 InheritedREAD_CONTINUOUS : uint = 2
[static]
I2CDevice
 InheritedSTOP_READING : uint = 3
[static]
I2CDevice
 InheritedWRITE : uint = 0
[static]
I2CDevice
Property detail
headingproperty
heading:Number  [read-only]Implementation
    public function get heading():Number
Constructor detail
HMC6352()constructor
public function HMC6352(ioModule:*, address:uint = 0x21)Parameters
ioModule:*
 
address:uint (default = 0x21)
Method detail
addEventListener()method
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):voidParameters
type:String
 
listener:Function
 
useCapture:Boolean (default = false)
 
priority:int (default = 0)
 
useWeakReference:Boolean (default = false)
dispatchEvent()method 
public function dispatchEvent(evt:Event):BooleanParameters
evt:Event

Returns
Boolean
enterUserCalibrationMode()method 
public function enterUserCalibrationMode():void
exitUserCalibrationMode()method 
public function exitUserCalibrationMode():void
handleSysex()method 
public override function handleSysex(command:uint, data:Array):voidParameters
command:uint
 
data:Array
hasEventListener()method 
public function hasEventListener(type:String):BooleanParameters
type:String

Returns
Boolean
removeEventListener()method 
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):voidParameters
type:String
 
listener:Function
 
useCapture:Boolean (default = false)
willTrigger()method 
public function willTrigger(type:String):BooleanParameters
type:String

Returns
Boolean