|
C MIP-SDK
|
Go to the source code of this file.
Defines | |
| #define | MIP_SYSTEM_COMMAND_SET 0x7F |
| #define | MIP_SYSTEM_CMD_COM_MODE 0x10 |
| #define | MIP_SYSTEM_REPLY_COM_MODE 0x90 |
Functions | |
| u16 | mip_system_com_mode (mip_interface *device_interface, u8 function_selector, u8 *com_mode) |
| u16 mip_system_com_mode | ( | mip_interface * | device_interface, |
| u8 | function_selector, | ||
| u8 * | com_mode | ||
| ) |
Set or read the communications mode.
| [in] | mip_interface | *device_interface - The device interface. |
| [in] | u8 | function_selector - Selects which function to perform. |
| [in,out] | u8 | *com_mode - The communications mode. (used to set or get depending on function_selector) |
| MIP_INTERFACE_ERROR | When there is a problem with the command format or the the device communications failed. |
| MIP_INTERFACE_OK | The command was successful. |
Possible function_selector values:
com_mode may be NULL for the following function_selector values:
Possible com_mode values:
Please check the device DCP for available communications modes
1.7.5.1