1.1.11.21 I2CSMBx_HostTransferCountGet Function

C

/* x = I2C SMBUS peripheral instance number */

/* I2C SMBUS Host mode */

uint32_t I2CSMBx_HostTransferCountGet(void)

Summary

Returns the transfer count for the last transfer

Description

Returns the transfer count for the last transfer

Precondition

I2CSMBx_Initialize must have been called for the associated I2C instance.

Parameters

None

Returns

Returns the transfer count for the last transfer

Example

uint32_t count = I2CSMB0_HostTransferCountGet();

Remarks

None