|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.buglabs.bug.accelerometer.pub.AccelerometerConfiguration
public class AccelerometerConfiguration
Accelerometer Configuration
| Field Summary | |
|---|---|
short |
delay
|
byte |
delay_mode
|
byte |
delay_resolution
|
int |
read_queue_size
|
int |
read_queue_threshold
|
byte |
run
|
byte |
sensitivity
|
| Constructor Summary | |
|---|---|
AccelerometerConfiguration()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
short |
getDelay()
Timer ticks between the start of 2 sucessive sample sets. |
byte |
getDelayMode()
0 = default delay = 5 millisecond 1 = configured delay |
byte |
getDelayResolution()
Timer tick resolution 1 = 1 uSec 2 = 8 uSec 3 = 64 uSec 4 = 256 uSec 5 = 1024 uSec |
int |
getReadQueueSize()
|
int |
getReadQueueThreshold()
Number of 6-byte sample sets to queue |
byte |
getRun()
0 = sampling disabled 1 = sampling enabled |
byte |
getSensitivity()
0 = 2.5G, 421 mV/G 1 = 3.3G, 316 mV/G 2 = 6.7G, 158 mV/G 3 = 10G, 105 mV/G |
void |
setDelay(short delay)
Timer ticks between the start of 2 sucessive sample sets. |
void |
setDelayMode(byte delay_mode)
0 = default delay = 5 millisecond 1 = configured delay |
void |
setDelayResolution(byte delay_resolution)
Timer tick resolution |
void |
setReadQueueSize(int read_queue_size)
|
void |
setReadQueueThreshold(int read_queue_threshold)
Number of 6-byte sample sets to queue |
void |
setRun(byte run)
0 = sampling disabled 1 = sampling enabled |
void |
setSensitivity(byte sensitivity)
0 = 2.5G, 421 mV/G 1 = 3.3G, 316 mV/G 2 = 6.7G, 158 mV/G 3 = 10G, 105 mV/G |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int read_queue_size
public int read_queue_threshold
public short delay
public byte delay_resolution
public byte delay_mode
public byte run
public byte sensitivity
| Constructor Detail |
|---|
public AccelerometerConfiguration()
| Method Detail |
|---|
public int getReadQueueSize()
public void setReadQueueSize(int read_queue_size)
public int getReadQueueThreshold()
public void setReadQueueThreshold(int read_queue_threshold)
public short getDelay()
public void setDelay(short delay)
public byte getDelayResolution()
public void setDelayResolution(byte delay_resolution)
delay_resolution - 1 = 1 uSec 2 = 8 uSec 3 = 64 uSec 4 = 256 uSec 5 = 1024 uSecpublic byte getDelayMode()
public void setDelayMode(byte delay_mode)
public byte getRun()
public void setRun(byte run)
public byte getSensitivity()
public void setSensitivity(byte sensitivity)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||