| aIRCM_SetRWData | Index |
Definition:
Parameters:
| addr | - | IIC address of the specified IRCM. |
| data | - | The data to be written to the remote-write data register. |
Return Value:
Description:
This routine sets the remote-write data register in an IRCM. This register contains a data byte that will be sent to another module. 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_SetRWData((unsigned char)0xC0, 4);
This would write the value 4 to the IRCM remote-write data register.
Related: