P3.6&P3.7
PIN_FUNC &= ~(1<<7); //standard pull-up Port3Cfg(3,7); Port3Cfg(3,6); USB_CTRL=bUC_DEV_PU_EN; //enable enhanced pull-up
热门产品 :
CH32L103: 32位PDUSB低功耗单片机
P3.6&P3.7
PIN_FUNC &= ~(1<<7); //standard pull-up Port3Cfg(3,7); Port3Cfg(3,6); USB_CTRL=bUC_DEV_PU_EN; //enable enhanced pull-up