1.1.11.34 I2CSMBx_TargetBufferWrite Function
C
/* x = I2C SMBUS peripheral instance number */
/* I2C SMBUS Target mode */
void I2CSMBx_TargetBufferWrite(void* pBuffer, uint32_t nBytes)
Summary
Copies the data to be transmitted into the PLIBs internal buffer
Description
Copies the data to be transmitted into the PLIBs internal buffer
Precondition
I2CSMBx_Initialize must have been called for the associated I2C instance.
Parameters
None.
Returns
None
Example
volatile uint8_t targetTxBuffer[100];
volatile uint32_t nDataBytes;
I2CSMB0_TargetBufferWrite((void*)targetTxBuffer, nDataBytes);
Remarks
None.