src/app/host-serial/libftdi/ftdi.c
static unsigned char ftdi_read_chipid_shift(unsigned char value)
{
    return ((value & 1) << 1) |
           ((value & 2) << 5) |
           ((value & 4) >> 2) |
           ((value & 8) << 4) |
           ((value & 16) >> 1) |
           ((value & 32) >> 1) |
           ((value & 64) >> 4) |
           ((value & 128) >> 2);
}
/*
    ftdi_read_chipid_shift does the bitshift operation needed for the FTDIChip-ID
    Function is only used internally
    \internal
*/
ftdi_read_chipid_shift does the bitshift operation needed for the FTDIChip-ID
Function is only used internally
\internal
ftdi_read_chipid_shift does the bitshift operation needed for the FTDIChip - ID Function is only used internally \ internal
static unsigned char ftdi_read_chipid_shift(unsigned char value)
{
    return ((value & 1) << 1) |
           ((value & 2) << 5) |
           ((value & 4) >> 2) |
           ((value & 8) << 4) |
           ((value & 16) >> 1) |
           ((value & 32) >> 1) |
           ((value & 64) >> 4) |
           ((value & 128) >> 2);
}
static unsigned char ftdi_read_chipid_shift ( unsigned char value ) { return ( ( value & 1 ) << 1 ) | ( ( value & 2 ) << 5 ) | ( ( value & 4 ) >> 2 ) | ( ( value & 8 ) << 4 ) | ( ( value & 16 ) >> 1 ) | ( ( value & 32 ) >> 1 ) | ( ( value & 64 ) >> 4 ) | ( ( value & 128 ) >> 2 ) ; }
ftdi_read_chipid_shift does the bitshift operation needed for the FTDIChip-ID
Function is only used internally
\internal
ftdi_read_chipid_shift does the bitshift operation needed for the FTDIChip - ID Function is only used internally \ internal