public abstract class HiTechnicNxtController
extends I2cControllerPortDeviceImpl
Modifier and Type | Field and Description |
---|---|
protected android.content.Context |
context |
protected I2cDevice |
i2cDevice |
protected I2cDeviceSynch |
i2cDeviceSynch |
protected boolean |
isEngaged |
protected boolean |
isHardwareInitialized |
protected boolean |
isHooked |
Constructor and Description |
---|
HiTechnicNxtController(android.content.Context context,
I2cController module,
int physicalPort,
I2cAddr i2cAddr) |
Modifier and Type | Method and Description |
---|---|
protected void |
adjustHookingToMatchEngagement() |
void |
close() |
protected void |
controllerNowDisarmed() |
void |
disengage() |
protected void |
doHook() |
protected void |
doUnhook() |
void |
engage() |
protected abstract void |
floatHardware() |
Manufacturer |
getManufacturer() |
protected void |
hook() |
protected abstract void |
initializeHardware() |
protected boolean |
isArmed() |
boolean |
isEngaged() |
protected byte |
read8(int ireg) |
protected void |
unhook() |
protected void |
write(int ireg,
byte[] data) |
protected void |
write8(int ireg,
byte data) |
protected android.content.Context context
protected boolean isEngaged
protected boolean isHooked
protected I2cDevice i2cDevice
protected I2cDeviceSynch i2cDeviceSynch
protected boolean isHardwareInitialized
public HiTechnicNxtController(android.content.Context context, I2cController module, int physicalPort, I2cAddr i2cAddr)
public Manufacturer getManufacturer()
public void close()
protected abstract void initializeHardware()
protected abstract void floatHardware()
public void engage()
public void disengage()
public boolean isEngaged()
protected void controllerNowDisarmed()
protected void adjustHookingToMatchEngagement()
protected void hook()
protected void unhook()
protected void doHook()
protected void doUnhook()
protected boolean isArmed()
protected void write8(int ireg, byte data)
protected void write(int ireg, byte[] data)
protected byte read8(int ireg)