| aIRCM_GetRCStatus | Index |
Definition:
Parameters:
| addr | - | IIC address of the specified IRCM. |
Return Value:
Description:
This routine reads the remote-control status register in an IRCM. This register tells when new data from an IR remote control is available. 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_GetRCStatus((unsigned char)0xC0);
This would write the contents of the IRCM remote-control status register to variable c.
Related: