|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for special mode function implementations.
Field Summary | |
static int |
SMF_CPS_ID
Special mode function id for current pin status special mode function. |
static int |
SMF_I2C_ID
Special mode function id for I2C special mode function. |
static int |
SMF_LCD_ID
Special mode function id for LCD special mode function. |
static int |
SMF_LED_ID
Special mode function id for Led Matrix special mode function. |
static int |
SMF_RC5_ID
Special mode function id for RC5 special mode function. |
static int |
SMF_SMX_ID
Special mode function id for Switch Matrix (SMX) special mode function. |
static int |
SMF_SPI_ID
Special mode function id for SPI special mode function. |
Method Summary | |
java.lang.String |
checkCompatibility(int id,
int rev,
int specialModes)
Checks if it is possible to activate this special mode function. |
int[] |
getDisableReport()
Returns the report that disables the special mode function. |
int[] |
getEnableReport()
Returns the report that enables the special mode function. |
int[] |
getIowSpecialBits(int deviceIdentifier)
Returns an array of bitmask(s) for port 0...1 or 0...3 if this special mode function runs on this iow device. |
java.lang.String |
getName()
Returns the name of the special mode function. |
int[] |
getReportIds()
Returns the report id(s) which the implementation is interested in. |
int |
getSpecialModeFuncionId()
Returns the special mode function for this implementation. |
boolean |
matchReportId(int reportId)
Checks if this implementation is interested in this report. |
void |
reportReceived(int[] readBuffer)
Callback method is called when a matching report was received. |
void |
setIowDevice(AbstractIowDevcie iow)
Sets the reference to an iow device for write report operations. |
Field Detail |
public static final int SMF_LCD_ID
public static final int SMF_RC5_ID
public static final int SMF_I2C_ID
public static final int SMF_CPS_ID
public static final int SMF_SPI_ID
public static final int SMF_SMX_ID
public static final int SMF_LED_ID
Method Detail |
public int getSpecialModeFuncionId()
public int[] getReportIds()
public void reportReceived(int[] readBuffer)
readBuffer
- Read buffer from a received report.public boolean matchReportId(int reportId)
reportId
- Report id of the received report.
public void setIowDevice(AbstractIowDevcie iow)
iow
- Instance of an iow device.public int[] getIowSpecialBits(int deviceIdentifier)
deviceIdentifier
- Iow device identifier (AbstractIowDevcie.IOW24ID or AbstractIowDevcie.IOW40ID).
public int[] getEnableReport()
public int[] getDisableReport()
public java.lang.String checkCompatibility(int id, int rev, int specialModes)
id
- Id of the current iow device.rev
- Rev of the current iow device.specialModes
- Special modes from the current iow device.
public java.lang.String getName()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |