def decode_2_uint12(bb):
    """
    Decode 3 bytes as two unsigned 12 bit integers

    Specs:
        **2_uint12 len**: 3 bytes

        **Format string**: 'o'

    """
    _bb_int = int.from_bytes(bb, byteorder='little', signed=False)
    val = _bb_int >> 12
    val2 = _bb_int & 0b111111111111  # 2**12-1
    return (val, val2)