|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.motorola.oem.hapi.GpioCounter
public class GpioCounter
The class provides Gpio Counter service methods.
Constructor Summary | |
---|---|
GpioCounter(GpioInput gpio)
Constructs a new GpioCounter for the specified GpipInput. |
Method Summary | |
---|---|
int |
readGpioCounterValue()
Reads GpioCounter current value. |
int |
resetGpioCounter()
Resets Gpio Counter Expiry Value member. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GpioCounter(GpioInput gpio)
gpio
- GpioInput
related to this instance of GpioCounterMethod Detail |
---|
public int resetGpioCounter() throws GpioException
GpioException
- Device failed to reset counter. Error code - GpioException.RESET_COUNTER_ERROR
public int readGpioCounterValue() throws GpioException
GpioException
- Device failed to read counter. Error code - GpioException.READ_COUNTER_ERROR
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |