⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 usb_prop.s79

📁 用于监视I2C通信总线
💻 S79
📖 第 1 页 / 共 4 页
字号:
//  386   return(u8 *)&linecoding;
??Virtual_Com_Port_GetLineCoding_0:
        LDR.N    R0,??DataTable12  ;; linecoding
        BX       LR               ;; return
        CFI EndBlock cfiBlock12
//  387 }
//  388 
//  389 /*******************************************************************************
//  390 * Function Name  : Virtual_Com_Port_SetLineCoding.
//  391 * Description    : Set the linecoding structure fields.
//  392 * Input          : Length.
//  393 * Output         : None.
//  394 * Return         : Linecoding structure base address.
//  395 *******************************************************************************/

        RSEG CODE:CODE:NOROOT(2)
        CFI Block cfiBlock13 Using cfiCommon0
        CFI Function Virtual_Com_Port_SetLineCoding
        THUMB
//  396 u8 *Virtual_Com_Port_SetLineCoding(u16 Length)
//  397 {
//  398   if (Length == 0)
Virtual_Com_Port_SetLineCoding:
        CBNZ     R0,??Virtual_Com_Port_SetLineCoding_0
//  399   {
//  400     pInformation->Ctrl_Info.Usb_wLength = sizeof(linecoding);
        B.N      ?Subroutine0
//  401     return NULL;
//  402   }
//  403   return(u8 *)&linecoding;
??Virtual_Com_Port_SetLineCoding_0:
        LDR.N    R0,??DataTable12  ;; linecoding
        BX       LR               ;; return
        CFI EndBlock cfiBlock13
//  404 }

        RSEG CODE:CODE:NOROOT(2)
        DATA
??DataTable12:
        DC32     linecoding

        RSEG CODE:CODE:NOROOT(2)
        CFI Block cfiBlock14 Using cfiCommon0
        CFI NoFunction
        THUMB
?Subroutine0:
        LDR.N    R0,??DataTable13  ;; pInformation
        MOVS     R1,#+8
        LDR      R0,[R0, #+0]
        STRH     R1,[R0, #+16]
        MOVS     R0,#+0
        BX       LR
        CFI EndBlock cfiBlock14

        RSEG CODE:CODE:NOROOT(2)
        DATA
??DataTable13:
        DC32     pInformation

        RSEG CODE:CODE:NOROOT(2)
        CFI Block cfiBlock15 Using cfiCommon0
        CFI NoFunction
        THUMB
??Get_SerialNum??rT:
        LDR.N    R3,??Subroutine1_0  ;; Get_SerialNum
        BX       R3
        DATA
??Subroutine1_0:
        DC32     Get_SerialNum
        CFI EndBlock cfiBlock15

        RSEG CODE:CODE:NOROOT(2)
        CFI Block cfiBlock16 Using cfiCommon0
        CFI NoFunction
        THUMB
??PowerOn??rT:
        LDR.N    R3,??Subroutine2_0  ;; PowerOn
        BX       R3
        DATA
??Subroutine2_0:
        DC32     PowerOn
        CFI EndBlock cfiBlock16

        RSEG CODE:CODE:NOROOT(2)
        CFI Block cfiBlock17 Using cfiCommon0
        CFI NoFunction
        THUMB
??USART_Config_Default??rT:
        LDR.N    R3,??Subroutine3_0  ;; USART_Config_Default
        BX       R3
        DATA
??Subroutine3_0:
        DC32     USART_Config_Default
        CFI EndBlock cfiBlock17

        RSEG CODE:CODE:NOROOT(2)
        CFI Block cfiBlock18 Using cfiCommon0
        CFI NoFunction
        THUMB
??SetBTABLE??rT:
        LDR.N    R3,??Subroutine4_0  ;; SetBTABLE
        BX       R3
        DATA
??Subroutine4_0:
        DC32     SetBTABLE
        CFI EndBlock cfiBlock18

        RSEG CODE:CODE:NOROOT(2)
        CFI Block cfiBlock19 Using cfiCommon0
        CFI NoFunction
        THUMB
??SetEPType??rT:
        LDR.N    R3,??Subroutine5_0  ;; SetEPType
        BX       R3
        DATA
??Subroutine5_0:
        DC32     SetEPType
        CFI EndBlock cfiBlock19

        RSEG CODE:CODE:NOROOT(2)
        CFI Block cfiBlock20 Using cfiCommon0
        CFI NoFunction
        THUMB
??SetEPTxStatus??rT:
        LDR.N    R3,??Subroutine6_0  ;; SetEPTxStatus
        BX       R3
        DATA
??Subroutine6_0:
        DC32     SetEPTxStatus
        CFI EndBlock cfiBlock20

        RSEG CODE:CODE:NOROOT(2)
        CFI Block cfiBlock21 Using cfiCommon0
        CFI NoFunction
        THUMB
??SetEPRxAddr??rT:
        LDR.N    R3,??Subroutine7_0  ;; SetEPRxAddr
        BX       R3
        DATA
??Subroutine7_0:
        DC32     SetEPRxAddr
        CFI EndBlock cfiBlock21

        RSEG CODE:CODE:NOROOT(2)
        CFI Block cfiBlock22 Using cfiCommon0
        CFI NoFunction
        THUMB
??SetEPTxAddr??rT:
        LDR.N    R3,??Subroutine8_0  ;; SetEPTxAddr
        BX       R3
        DATA
??Subroutine8_0:
        DC32     SetEPTxAddr
        CFI EndBlock cfiBlock22

        RSEG CODE:CODE:NOROOT(2)
        CFI Block cfiBlock23 Using cfiCommon0
        CFI NoFunction
        THUMB
??Clear_Status_Out??rT:
        LDR.N    R3,??Subroutine9_0  ;; Clear_Status_Out
        BX       R3
        DATA
??Subroutine9_0:
        DC32     Clear_Status_Out
        CFI EndBlock cfiBlock23

        RSEG CODE:CODE:NOROOT(2)
        CFI Block cfiBlock24 Using cfiCommon0
        CFI NoFunction
        THUMB
??SetEPRxCount??rT:
        LDR.N    R3,??Subroutine10_0  ;; SetEPRxCount
        BX       R3
        DATA
??Subroutine10_0:
        DC32     SetEPRxCount
        CFI EndBlock cfiBlock24

        RSEG CODE:CODE:NOROOT(2)
        CFI Block cfiBlock25 Using cfiCommon0
        CFI NoFunction
        THUMB
??SetEPRxValid??rT:
        LDR.N    R3,??Subroutine11_0  ;; SetEPRxValid
        BX       R3
        DATA
??Subroutine11_0:
        DC32     SetEPRxValid
        CFI EndBlock cfiBlock25

        RSEG CODE:CODE:NOROOT(2)
        CFI Block cfiBlock26 Using cfiCommon0
        CFI NoFunction
        THUMB
??SetEPRxStatus??rT:
        LDR.N    R3,??Subroutine12_0  ;; SetEPRxStatus
        BX       R3
        DATA
??Subroutine12_0:
        DC32     SetEPRxStatus
        CFI EndBlock cfiBlock26

        RSEG CODE:CODE:NOROOT(2)
        CFI Block cfiBlock27 Using cfiCommon0
        CFI NoFunction
        THUMB
??SetDeviceAddress??rT:
        LDR.N    R3,??Subroutine13_0  ;; SetDeviceAddress
        BX       R3
        DATA
??Subroutine13_0:
        DC32     SetDeviceAddress
        CFI EndBlock cfiBlock27

        RSEG CODE:CODE:NOROOT(2)
        CFI Block cfiBlock28 Using cfiCommon0
        CFI NoFunction
        THUMB
??USART_Config??rT:
        LDR.N    R3,??Subroutine14_0  ;; USART_Config
        BX       R3
        DATA
??Subroutine14_0:
        DC32     USART_Config
        CFI EndBlock cfiBlock28

        RSEG CODE:CODE:NOROOT(2)
        CFI Block cfiBlock29 Using cfiCommon0
        CFI NoFunction
        THUMB
??Standard_GetDescriptorData??rT:
        LDR.N    R3,??Subroutine15_0  ;; Standard_GetDescriptorData
        BX       R3
        DATA
??Subroutine15_0:
        DC32     Standard_GetDescriptorData
        CFI EndBlock cfiBlock29

        RSEG DATA_ID:CONST:SORT:NOROOT(2)
`?<Initializer for linecoding>`:
        DATA
        DC32 115200
        DC8 0, 0, 8, 0

        RSEG DATA_ID:CONST:SORT:NOROOT(0)
`?<Initializer for Device_Table>`:
        DATA
        DC8 4, 1

        RSEG DATA_ID:CONST:SORT:NOROOT(2)
`?<Initializer for Device_Property>`:
        DATA
        DC32 Virtual_Com_Port_init, Virtual_Com_Port_Reset
        DC32 Virtual_Com_Port_Status_In, Virtual_Com_Port_Status_Out
        DC32 Virtual_Com_Port_Data_Setup, Virtual_Com_Port_NoData_Setup
        DC32 Virtual_Com_Port_Get_Interface_Setting
        DC32 Virtual_Com_Port_GetDeviceDescriptor
        DC32 Virtual_Com_Port_GetConfigDescriptor
        DC32 Virtual_Com_Port_GetStringDescriptor, 0H
        DC8 64, 0, 0, 0

        RSEG DATA_ID:CONST:SORT:NOROOT(2)
`?<Initializer for User_Standard_Requests>`:
        DATA
        DC32 NOP_Process, Virtual_Com_Port_SetConfiguration, NOP_Process
        DC32 NOP_Process, NOP_Process, NOP_Process, NOP_Process, NOP_Process
        DC32 Virtual_Com_Port_SetDeviceAddress

        RSEG DATA_ID:CONST:SORT:NOROOT(2)
`?<Initializer for Device_Descriptor>`:
        DATA
        DC32 Virtual_Com_Port_DeviceDescriptor
        DC16 18
        DC8 0, 0

        RSEG DATA_ID:CONST:SORT:NOROOT(2)
`?<Initializer for Config_Descriptor>`:
        DATA
        DC32 Virtual_Com_Port_ConfigDescriptor
        DC16 67
        DC8 0, 0

        RSEG DATA_ID:CONST:SORT:NOROOT(2)
`?<Initializer for String_Descriptor>`:
        DATA
        DC32 Virtual_Com_Port_StringLangID
        DC16 4
        DC8 0, 0
        DC32 Virtual_Com_Port_StringVendor
        DC16 38
        DC8 0, 0
        DC32 Virtual_Com_Port_StringProduct
        DC16 50
        DC8 0, 0
        DC32 Virtual_Com_Port_StringSerial
        DC16 26
        DC8 0, 0

        RSEG DATA_ID:CONST:SORT:NOROOT(2)
`?*?DATA_ID`:

        RSEG INITTAB:CODE:ROOT(2)
        DATA
?init?tab?DATA_I:
        DCD      sfe(DATA_I) - sfb(DATA_I), sfb(DATA_I), sfb(DATA_ID)

        RSEG INITTAB:CODE:ROOT(2)
        DATA
?init?tab?DATA_Z:
        DCD      sfe(DATA_Z) - sfb(DATA_Z), sfb(DATA_Z), sfb(DATA_Z)

        END
//  405 
//  406 /******************* (C) COPYRIGHT 2008 STMicroelectronics *****END OF FILE****/
//  407 
// 
// 674 bytes in segment CODE
// 142 bytes in segment DATA_I
// 142 bytes in segment DATA_ID
//   1 byte  in segment DATA_Z
//  24 bytes in segment INITTAB
// 
// 554 bytes of CODE  memory (+ 144 bytes shared)
// 142 bytes of CONST memory
// 143 bytes of DATA  memory
//
//Errors: none
//Warnings: none

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -