Definition:
Parameters:
| addr | - | IIC address of the specified IRCM. |
| data | - | The data to be written to the timeout register. |
Return Value:
This routine does not return a value.
Description:
This routine writes to the timeout register in an IRCM. This sets the timeout for the next transmission attempt. The timeoutn is specified in seconds with a range of 1-15. See the documentation for the IR Communication Module for more details regarding IRCM register functions.
| Note: | This routine is defined as a macro that calls the aI2C_WriteChar routine. |
Example:
#include <aIRCM.tea>
aIRCM_SetTimeout((unsigned char)0xC0, 4);
This would write the value 4 to the IRCM timeout register.
Related:
aI2C_WriteChar, aIRCM_SetLocalAddr, aIRCM_SetDestAddr, aIRCM_SetRWData, aIRCM_SetExtData, aIRCM_GetRWStatus, aIRCM_GetRWError, aIRCM_GetRRStatus, aIRCM_GetRRError, aIRCM_GetRRNode, aIRCM_GetRRData, aIRCM_GetRRWord, aIRCM_GetRemoteStatus, aIRCM_GetIRCMStatus, aIRCM_GetExtDataFlags, aIRCM_GetExtData, aIRCM_GetRCStatus, aIRCM_GetRCType, aIRCM_GetRCWord1, aIRCM_GetRCWord2, aIRCM_Transmit
version: 1.0, build n.a.
© Copyright 1994-2012 Acroname, Inc., Boulder, Colorado. All rights reserved.