C MIP-SDK
|
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