Hi Everyone !
I am referring to the part of example code taken from Tiva C Series software examples for TM4C1294XL lanuchpad, here i am unable to understand how
the following function gets the MAC address, is it necessary to retrieve it this way ? Secondly, Why we are doing this thing
" pui8MACAddr[0] = ((ui32User0 >> 0) & 0xff); "
FlashUserGet(&ui32User0, &ui32User1); if((ui32User0 == 0xffffffff) || (ui32User1 == 0xffffffff)) { // // We should never get here. This is an error if the MAC address has // not been programmed into the device. Exit the program. // while(1) { } } / address into the Ethernet Controller registers. // pui8MACAddr[0] = ((ui32User0 >> 0) & 0xff); pui8MACAddr[1] = ((ui32User0 >> 8) & 0xff); pui8MACAddr[2] = ((ui32User0 >> 16) & 0xff); pui8MACAddr[3] = ((ui32User1 >> 0) & 0xff); pui8MACAddr[4] = ((ui32User1 >> 8) & 0xff); pui8MACAddr[5] = ((ui32User1 >> 16) & 0xff);