| aIRCM_GetRWError | Index |
Definition:
Parameters:
| addr | - | IIC address of the specified IRCM. |
Return Value:
Description:
This routine reads the remote-write error register in an IRCM. This register may be used to determine if a remote-write operation experienced an error such as a timeout. 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_ReadChar function. |
Example:
#include <aIRCM.tea>
c=aIRCM_GetRWError((unsigned char)0xC0);
This would write the contents of the IRCM remote-write error register to variable c.
Related: