/* Get the interframe gap, parts 1 and 2. See the description of interframe gap above in  */
void XEmac_GetInterframeGap(XEmac *InstancePtr, u8 *Part1Ptr, u8 *Part2Ptr)
/* Get the interframe gap, parts 1 and 2. See the description of interframe gap above in  */
void XEmac_GetInterframeGap(XEmac *InstancePtr, u8 *Part1Ptr, u8 *Part2Ptr)
{
	u32 Ifg;
	XASSERT_VOID(InstancePtr != NULL);
	XASSERT_VOID(Part1Ptr != NULL);
	XASSERT_VOID(Part2Ptr != NULL);
	XASSERT_VOID(InstancePtr->IsReady == XCOMPONENT_IS_READY);
	Ifg = XIo_In32(InstancePtr->BaseAddress + XEM_IFGP_OFFSET);
	*Part1Ptr = (Ifg & XEM_IFGP_PART1_MASK) >> XEM_IFGP_PART1_SHIFT;
	*Part2Ptr = (Ifg & XEM_IFGP_PART2_MASK) >> XEM_IFGP_PART2_SHIFT;
}