(bmRequestType)
return bmRequestType & _CTRL_DIR_MASK
r"""Return the direction of a control request.

    The bmRequestType parameter is the value of the
    bmRequestType field of a control transfer.
    The possible return values are CTRL_OUT or CTRL_IN.
r"""Return the direction of a control request.
r Return the direction of a control request .
def ctrl_direction(bmRequestType):
    r"""Return the direction of a control request.

    The bmRequestType parameter is the value of the
    bmRequestType field of a control transfer.
    The possible return values are CTRL_OUT or CTRL_IN.
    """
    return bmRequestType & _CTRL_DIR_MASK
def ctrl_direction ( bmRequestType ) : return bmRequestType & _CTRL_DIR_MASK