| Package | funnel.i2c |
| Class | public class HMC6343_Advanced |
| Inheritance | HMC6343_Advanced I2CDevice |
| Implements | flash.events.IEventDispatcher |
| Property | Defined by | ||
|---|---|---|---|
![]() | address : uint | I2CDevice | |
![]() | command : uint | I2CDevice | |
| compassOrientation : uint [read-only]
| HMC6343_Advanced | ||
| heading : Number [read-only]
| HMC6343_Advanced | ||
| pitch : Number [read-only]
| HMC6343_Advanced | ||
| roll : Number [read-only]
| HMC6343_Advanced | ||
| x : Number [read-only]
| HMC6343_Advanced | ||
| y : Number [read-only]
| HMC6343_Advanced | ||
| z : Number [read-only]
| HMC6343_Advanced | ||
| Method | Defined by | ||
|---|---|---|---|
|
HMC6343_Advanced(ioModule:*, compassOrientation:uint = 0, runMode:uint = 0, address:uint = 0x19, measurementRate:uint)
| HMC6343_Advanced | ||
|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
| HMC6343_Advanced | ||
|
dispatchEvent(evt:Event):Boolean
| HMC6343_Advanced | ||
|
enterSleepMode():void
| HMC6343_Advanced | ||
|
enterUserCalibrationMode():void
| HMC6343_Advanced | ||
|
exitSleepMode():void
| HMC6343_Advanced | ||
|
exitUserCalibrationMode():void
| HMC6343_Advanced | ||
|
handleSysex(command:uint, data:Array):void
| HMC6343_Advanced | ||
|
hasEventListener(type:String):Boolean
| HMC6343_Advanced | ||
|
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
| HMC6343_Advanced | ||
|
resetTheProcessor():void
| HMC6343_Advanced | ||
|
setCompassOrientation(compassOrientation:uint):void
| HMC6343_Advanced | ||
![]() |
update():void
| I2CDevice | |
|
updateAccl():void
| HMC6343_Advanced | ||
|
updateHeading():void
| HMC6343_Advanced | ||
|
willTrigger(type:String):Boolean
| HMC6343_Advanced | ||
| Constant | Defined by | ||
|---|---|---|---|
| CONTINUOUS_ACCL : uint = 2 [static]
| HMC6343_Advanced | ||
| CONTINUOUS_HEADING : uint = 1 [static]
| HMC6343_Advanced | ||
![]() | I2C_ADDRESS_BASE : uint = 15488 [static]
| I2CDevice | |
![]() | I2C_CONFIG : uint = 0x78 [static]
| I2CDevice | |
![]() | I2C_REPLY : uint = 0x77 [static]
| I2CDevice | |
![]() | I2C_REQUEST : uint = 0x76 [static]
| I2CDevice | |
| LEVEL : uint = 0x72 [static]
| HMC6343_Advanced | ||
| RATE_10HZ : uint = 0x02 [static]
| HMC6343_Advanced | ||
| RATE_1HZ : uint = 0x00 [static]
| HMC6343_Advanced | ||
| RATE_5HZ : uint = 0x01 [static]
| HMC6343_Advanced | ||
| RATE_NA : uint = 0x03 [static]
| HMC6343_Advanced | ||
| UPDATE_MODE : uint = 0 [static]
| HMC6343_Advanced | ||
| UPRIGHT_EDGE : uint = 0x73 [static]
| HMC6343_Advanced | ||
| UPRIGHT_FRONT : uint = 0x74 [static]
| HMC6343_Advanced | ||
| compassOrientation | property |
compassOrientation:uint [read-only]Implementation
public function get compassOrientation():uint
| heading | property |
heading:Number [read-only]Implementation
public function get heading():Number
| pitch | property |
pitch:Number [read-only]Implementation
public function get pitch():Number
| roll | property |
roll:Number [read-only]Implementation
public function get roll():Number
| x | property |
x:Number [read-only]Implementation
public function get x():Number
| y | property |
y:Number [read-only]Implementation
public function get y():Number
| z | property |
z:Number [read-only]Implementation
public function get z():Number
| HMC6343_Advanced | () | constructor |
public function HMC6343_Advanced(ioModule:*, compassOrientation:uint = 0, runMode:uint = 0, address:uint = 0x19, measurementRate:uint)Parameters
ioModule:* |
|
compassOrientation:uint (default = 0) |
|
runMode:uint (default = 0) |
|
address:uint (default = 0x19) |
|
measurementRate:uint |
| 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 |
Boolean |
| enterSleepMode | () | method |
public function enterSleepMode():void
| enterUserCalibrationMode | () | method |
public function enterUserCalibrationMode():void
| exitSleepMode | () | method |
public function exitSleepMode():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 |
Boolean |
| removeEventListener | () | method |
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):voidParameters
type:String |
|
listener:Function |
|
useCapture:Boolean (default = false) |
| resetTheProcessor | () | method |
public function resetTheProcessor():void
| setCompassOrientation | () | method |
public function setCompassOrientation(compassOrientation:uint):voidParameters
compassOrientation:uint |
| updateAccl | () | method |
public function updateAccl():void
| updateHeading | () | method |
public function updateHeading():void
| willTrigger | () | method |
public function willTrigger(type:String):BooleanParameters
type:String |
Boolean |
| CONTINUOUS_ACCL | constant |
public static const CONTINUOUS_ACCL:uint = 2
| CONTINUOUS_HEADING | constant |
public static const CONTINUOUS_HEADING:uint = 1
| LEVEL | constant |
public static const LEVEL:uint = 0x72
| RATE_10HZ | constant |
public static const RATE_10HZ:uint = 0x02
| RATE_1HZ | constant |
public static const RATE_1HZ:uint = 0x00
| RATE_5HZ | constant |
public static const RATE_5HZ:uint = 0x01
| RATE_NA | constant |
public static const RATE_NA:uint = 0x03
| UPDATE_MODE | constant |
public static const UPDATE_MODE:uint = 0
| UPRIGHT_EDGE | constant |
public static const UPRIGHT_EDGE:uint = 0x73
| UPRIGHT_FRONT | constant |
public static const UPRIGHT_FRONT:uint = 0x74