/***************************************************************************//** * @brief * Start USB device operation. * * @details * Device operation is started by connecting a pullup resistor on the * appropriate USB data line. ******************************************************************************/ void USBD_Connect( void ) { CORE_DECLARE_IRQ_STATE; CORE_ENTER_CRITICAL(); USBDHAL_Connect(); CORE_EXIT_CRITICAL(); }
/***************************************************************************//** * @brief * Start USB device operation. * * @details * Device operation is started by connecting a pullup resistor on the * appropriate USB data line. ******************************************************************************/ void USBD_Connect( void ) { INT_Disable(); USBDHAL_Connect(); INT_Enable(); }