/* Encode a byte (8bits) to 5B representation (output 10 bit)  */
__STATIC_INLINE uint32_t PHY_Encode5b_Byte(uint8_t val)
/* Encode a byte (8bits) to 5B representation (output 10 bit)  */
__STATIC_INLINE uint32_t PHY_Encode5b_Byte(uint8_t val)
{
  return coding4b5b[val & 0x0F] | (coding4b5b[(val >> 4) & 0x0F] << 5);
}