/* Set Stall for USB Device MSC Endpoint Parameters: EPNum: USB Device Endpoint Number EPNum.0..3: Address EPNum.7: Dir Return Value: None  */
void USBD_MSC_SetStallEP(U32 EPNum)
/* Set Stall for USB Device MSC Endpoint Parameters: EPNum: USB Device Endpoint Number EPNum.0..3: Address EPNum.7: Dir Return Value: None  */
void USBD_MSC_SetStallEP(U32 EPNum)
{
    USBD_SetStallEP(EPNum);
    USBD_EndPointHalt  |= (EPNum & 0x80) ? ((1 << 16) << (EPNum & 0x0F)) : (1 << EPNum);
}