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