freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于stm32的usb簡易鼠標(biāo)畢業(yè)設(shè)計(參考版)

2025-06-27 16:13本頁面
  

【正文】 }/********************************************************************** Function Name : Enter_LowPowerMode.* Description : Poweroff system clocks and power while entering suspend mode.* Input : None.* Output : None.* Return : None.*********************************************************************/void Enter_LowPowerMode(void){}/********************************************************************** Function Name : Leave_LowPowerMode.* Description : Restores system clocks and power while exiting suspend mode.* Input : None.* Output : None.* Return : None.*********************************************************************/void Leave_LowPowerMode(void){}/********************************************************************** Function Name : USB_Inter。GPIO_InitStructure)。GPIO_InitStructure)。GPIO_InitStructure)。GPIO_InitStructure)。GPIO_InitStructure)。 = GPIO_Mode_AIN。 /* Enable all GPIOs Clock*/ RCC_APB2PeriphClockCmd(RCC_APB2Periph_ALLGPIO, ENABLE)。 /* Enable the USB clock */ RCC_APB1PeriphClockCmd(RCC_APB1Periph_USB, ENABLE)。NVIC_InitStructure)。 = ENABLE。 = 0。 NVIC_PriorityGroupConfig(NVIC_PriorityGroup_0)。 TIM_Cmd(TIM2, ENABLE)。 TIM_ClearFlag(TIM2, TIM_FLAG_Update)。 TIM_TimeBaseInit(TIM2, amp。 =TIM_CKD_DIV1。 =2000。 RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM2 , ENABLE)。 NVIC_Configuration()。GPIO_InitStructure)。 。 = GPIO_Speed_50MHz。GPIO_InitStructure)。 = GPIO_Mode_IPU。 /* Configure the JoyStick IOs */ /* Key up + Key down Key left + Key right */ = JOY_RIGHT |JOY_UP | JOY_DOWN | JOY_LEFT。 /* Enable GPIOD and GPIOA clock */// RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIO_DISCONNECT, ENABLE)。 power.* Input : None.* Return : None.*********************************************************************/void Set_System(void){ GPIO_InitTypeDef GPIO_InitStructure。/* Private function prototypes */static void IntToUnicode (uint32_t value , uint8_t *pbuf , uint8_t len)。/********************************************************************* END OF FILE*********************************************************************/附錄C /********************************************************************** File Name : * Author : fakor* Version : * Date : 05/22/2015* Description : Hardware Configuration amp。e39。s39。u39。o39。M39。k39。c39。i39。t39。S39。y39。o39。J39。 }。, 0, 39。, 0, 39。, 0, 39。, 0, 39。, 0, 39。, 0, 39。, 0, 39。, 0, 39。, 0, 39。, 0, 39。, 0, 39。, 0, 39。, 0, 39。, 0, 39。, 0, 39。, 0, 39。, 0, 39。, 0, 39。, 0, 39。, 0, 39。, 0, 39。, 0, 39。, 0, 39。, 0, 39。, 0, 39。, 0, 39。, 0, 39。, 0, 39。, 0, 39。, 0, 39。, 0, 39。, 0, 39。, 0, 39。const uint8_t Joystick_StringProduct[JOYSTICK_SIZ_STRING_PRODUCT] = { JOYSTICK_SIZ_STRING_PRODUCT, /* bLength 產(chǎn)品*/ USB_STRING_DESCRIPTOR_TYPE, /* bDescriptorType */ /* Multi Media Development Board */ 39。t39。e39。n39。.39。e39。r39。a39。h39。s39。e39。v39。a39。w39。.39。w39。w39。w39。 /* Joystick_ReportDescriptor *//****************** USB String Descriptors (optional) ********************************************字符串描述符*****************************/const uint8_t Joystick_StringLangID[JOYSTICK_SIZ_STRING_LANGID] = { JOYSTICK_SIZ_STRING_LANGID, USB_STRING_DESCRIPTOR_TYPE, 0x09, 0x04 }。 /******************** Joystick_DeviceDescriptor *****************//***************** USB Configuration Descriptor***********************************************配置描述符 ****************************//* All Descriptors (Configuration配置, Interface接口, Endpoint端點, Class類, Vendor廠商 */const uint8_t Joystick_ConfigDescriptor[JOYSTICK_SIZ_CONFIG_DESC] = { 0x09, /* bLength: Configuation Descriptor size */ USB_CONFIGURATION_DESCRIPTOR_TYPE, /* bDescriptorType: Configuration */ JOYSTICK_SIZ_CONFIG_DESC, /* wTotalLength: Bytes returned */ 0x00, 0x01, /*bNumInterfaces: 1 interface接口數(shù)*/ 0x01, /*bConfigurationValue: Configuration value配置*/ 0x00, /*iConfiguration: Index of string descriptor describing the configuration字符串索引號*/ 0xE0, /*bmAttributes: bus powered總線供電 */0x32, /*MaxPower 100 mA: this current is used for detecting Vbus檢測電源*/ /********Descriptor of Joystick Mouse interface 接口**************/ /* 09 */ 0x09, /*bLength: Interface Descriptor size*/USB_INTERFACE_DESCRIPTOR_TYPE,/*bDescriptorType: Interface descriptor type*/ 0x00, /*bInterfaceNumber: Number of Interface*/ 0x00, /*bAlternateSetting: Alternate setting*/ 0x01, /*bNumEndpoints*/ 0x03, /*bInterfaceClass: HID*/ 0x01, /*bInterfaceSubClass : 1=BOOT, 0=no boot*/ 0x02, /*nInterfaceProtocol : 0=none, 1=keyboard, 2=mouse*/0, /*iInterface: Index of string descriptor*//***************** Descriptor of Joystick Mouse HID ****************************************HID描述符****************************/ /* 18 */ 0x09, /*bLength: HID Descriptor size*/ HID_DESCRIPTOR_TYPE, /*bDescriptorType: HID*/ 0x00, /*bcdHID: HID Class Spec release number*/ 0x01, 0x00, /*bCountryCode: Hardware target country*/0x01, /*bNumDescriptors: Number of HID class descriptors to follow*/ 0x22, /*bDescriptorType*/JOYSTICK_SIZ_REPORT_DESC,/*wItemLength: Total length of Report descriptor*/0x00,/******************* Descriptor of Joystick Mouse endpoint *****************************************端點描述符***************************/ /* 27 */ 0x07, /*
點擊復(fù)制文檔內(nèi)容
電大資料相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1