| aIRCM_GetExtData | Index |
Definition:
Parameters:
| addr | - | IIC address of the specified IRCM. |
| x | - | 1-based index of an extended data register in the specified IRCM. |
Return Value:
Description:
This routine reads one of the extended data registers in an IRCM. Extended data registers hold extra data received from another IRCM. 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_GetExtData((unsigned char)0xC0, 3);
This would write the contents of the IRCM extended data register 3 to variable c.
Related: