(address)
return address & _ENDPOINT_DIR_MASK
r"""Return the endpoint direction.

    The address parameter is the bEndpointAddress field
    of the endpoint descriptor.
    The possible return values are ENDPOINT_OUT or ENDPOINT_IN.
r"""Return the endpoint direction.
r Return the endpoint direction .
def endpoint_direction(address):
    r"""Return the endpoint direction.

    The address parameter is the bEndpointAddress field
    of the endpoint descriptor.
    The possible return values are ENDPOINT_OUT or ENDPOINT_IN.
    """
    return address & _ENDPOINT_DIR_MASK
def endpoint_direction ( address ) : return address & _ENDPOINT_DIR_MASK