| Electronic Components Datasheet Search |
|
UM0290 Datasheet(PDF) 16 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0290 Datasheet(HTML) 16 Page - STMicroelectronics |
|
16 / 76 page ![]() STR7/STR9 USB firmware library UM0290 16/76 Description of the structure fields: – USBbmRequestType is the copy of bmRequestType of a setup packet – USBbRequest is the copy of bRequest of a setup packet – USBwValues is defined as type: WORD_BYTE and can be accessed through 3 macros: #define USBwValue USBwValues.w #define USBwValue0 USBwValues.bw.bb0 #define USBwValue1 USBwValues.bw.bb1 USBwValue is the copy of wValue of a setup packet USBwValue0 is the low byte of wValue, and USBwValue1 is the high byte of wValue. – USBwIndexs is defined as USBwValues and can be accessed by 3 macros: #define USBwIndex USBwIndexs.w #define USBwIndex0 USBwIndexs.bw.bb0 #define USBwIndex1 USBwIndexs.bw.bb1 USBwIndex is the copy of wIndex of a setup packet USBwIndex0 is the low byte of wIndex, and USBwIndex1 is the high byte of wIndex. – USBwLengths is defined as type: WORD_BYTE and can be accessed through 3 macros: #define USBwLength USBwLengths.w #define USBwLength0 USBwLengths.bw.bb0 #define USBwLength1 USBwLengths.bw.bb1 USBwLength is the copy of wLength of a setup packet USBwLength0 and USBwLength1 are the low and high bytes of wLength respectively. – ControlState is the state of the core, the available values are defined in CONTROL_STATE. – Current_Feature is the device feature at any time. It is affected by the SET_FEATURE and CLEAR_FEATURE requests and is retrieved by the GET_STATUS request. User code does not use this field. – Current_Configuration is the configuration the device is working on at any time. It is set and retrieved by the SET_CONFIGURATION and GET_CONFIGURATION requests respectively. – Current_Interface is the selected interface. – Current_Alternatesetting is the alternative setting which has been selected for the current working configuration and interface. It is set and retrieved by the SET_INTERFACE and GET_INTERFACE requests respectively. – Ctrl_Info has type ENDPOINT_INFO. Since this structure is used everywhere in the library, a global variable pInformation is defined for easy access to the Device_Info table, it is a pointer to the DEVICE_INFO structure. Actually, pInformation = &Device_Info. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |