| aIRCM_GetRCWord1 | Index |
Definition:
Parameters:
| addr | - | IIC address of the specified IRCM. |
Return Value:
Description:
This routine reads the first two remote-control data registers in an IRCM into a 2-byte variable. 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_ReadInt function. |
Example:
#include <aIRCM.tea>
n=aIRCM_GetRCWord1((unsigned char)0xC0);
This would write the contents of the first two IRCM remote-control data registers to variable n.
Related: