/* Decoding 10 bits and return the byte (Decoding 5B/4B)  */
__STATIC_INLINE int16_t Decode10Bit(uint32_t value)
/* Decoding 10 bits and return the byte (Decoding 5B/4B)  */
__STATIC_INLINE int16_t Decode10Bit(uint32_t value)
{
  uint8_t v0,v1;
  v0 = decoding5b4b[(value >>  0) & 0x1F];
  v1 = decoding5b4b[(value >>  5) & 0x1F];
  if (v0 == CODE_5B_INVALID || v1 == CODE_5B_INVALID) 
  {
    return -1;
  }
  return v0 | (v1<<4);
}