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

📄 pit.lst

📁 Tried to make CAN logger on AT91sam7X-ek, but have no idea how to implement FATFs... -( I m just a
💻 LST
📖 第 1 页 / 共 2 页
字号:
   \   00000004   801FC1E3           BIC      R1,R1,#0x200
   \   00000008                      REQUIRE ??Subroutine2_0
   \   00000008                      ;; // Fall through to label ??Subroutine2_0
     62          
     63          //------------------------------------------------------------------------------
     64          /// Enables the PIT if this is not already the case.
     65          //------------------------------------------------------------------------------

   \                                 In section .text, align 4, keep-with-next
     66          void PIT_Enable(void)
     67          {
     68              AT91C_BASE_PITC->PITC_PIMR |= AT91C_PITC_PITEN;
   \                     PIT_Enable:
   \   00000000   CF00E0E3           MVN      R0,#+207
   \   00000004   800FC0E3           BIC      R0,R0,#0x200
   \   00000008   000090E5           LDR      R0,[R0, #+0]
   \   0000000C   400780E3           ORR      R0,R0,#0x1000000
   \   00000010                      REQUIRE ?Subroutine0
   \   00000010                      ;; // Fall through to label ?Subroutine0
     69          }
     70          
     71          //----------------------------------------------------------------------------
     72          /// Enable the PIT periodic interrupt.
     73          //----------------------------------------------------------------------------

   \                                 In section .text, align 4, keep-with-next
     74          void PIT_EnableIT(void)
     75          {
     76              AT91C_BASE_PITC->PITC_PIMR |= AT91C_PITC_PITIEN;
   \                     PIT_EnableIT:
   \   00000000   CF00E0E3           MVN      R0,#+207
   \   00000004   800FC0E3           BIC      R0,R0,#0x200
   \   00000008   000090E5           LDR      R0,[R0, #+0]
   \   0000000C   800780E3           ORR      R0,R0,#0x2000000
   \   00000010   ........           B        ?Subroutine0
     77          }
     78          
     79          //------------------------------------------------------------------------------
     80          /// Disables the PIT periodic interrupt.
     81          //------------------------------------------------------------------------------

   \                                 In section .text, align 4, keep-with-next
     82          void PIT_DisableIT(void)
     83          {
     84              AT91C_BASE_PITC->PITC_PIMR &= ~AT91C_PITC_PITIEN;
   \                     PIT_DisableIT:
   \   00000000   CF00E0E3           MVN      R0,#+207
   \   00000004   800FC0E3           BIC      R0,R0,#0x200
   \   00000008   000090E5           LDR      R0,[R0, #+0]
   \   0000000C   8007C0E3           BIC      R0,R0,#0x2000000
   \   00000010   ........           B        ?Subroutine0
     85          }
     86          
     87          //------------------------------------------------------------------------------
     88          /// Returns the value of the PIT mode register.
     89          /// \return PIT_MR value.
     90          //------------------------------------------------------------------------------

   \                                 In section .text, align 4, keep-with-next
     91          unsigned int PIT_GetMode(void)
     92          {
     93              return AT91C_BASE_PITC->PITC_PIMR;
   \                     PIT_GetMode:
   \   00000000   CF00E0E3           MVN      R0,#+207
   \   00000004   ........           B        ?Subroutine1
     94          }

   \                                 In section .text, align 4, keep-with-next
   \                     ?Subroutine1:
   \   00000000   800FC0E3           BIC      R0,R0,#0x200
   \   00000004   000090E5           LDR      R0,[R0, #+0]
   \   00000008   1EFF2FE1           BX       LR               ;; return
     95          
     96          //------------------------------------------------------------------------------
     97          /// Returns the value of the PIT status register, clearing it as a side effect.
     98          /// \return PIT_SR value.
     99          //------------------------------------------------------------------------------

   \                                 In section .text, align 4, keep-with-next
    100          unsigned int PIT_GetStatus(void)
    101          {
    102              return AT91C_BASE_PITC->PITC_PISR;
   \                     PIT_GetStatus:
   \   00000000   CB00E0E3           MVN      R0,#+203
   \   00000004                      REQUIRE ?Subroutine1
   \   00000004                      ;; // Fall through to label ?Subroutine1
    103          }
    104          
    105          //------------------------------------------------------------------------------
    106          /// Returns the value of the PIT Image Register, to read PICNT and CPIV without
    107          /// clearing the current values.
    108          /// \return PIT_PIIR value.
    109          //------------------------------------------------------------------------------

   \                                 In section .text, align 4, keep-with-next
    110          unsigned int PIT_GetPIIR(void)
    111          {
    112              return AT91C_BASE_PITC->PITC_PIIR;
   \                     PIT_GetPIIR:
   \   00000000   C300E0E3           MVN      R0,#+195
   \   00000004   ........           B        ?Subroutine1
    113          }
    114          
    115          //------------------------------------------------------------------------------
    116          /// Returns the value of the PIT Value Register, clearing it as a side effect.
    117          /// \return PIT_PIVR value.
    118          //------------------------------------------------------------------------------

   \                                 In section .text, align 4, keep-with-next
    119          unsigned int PIT_GetPIVR(void)
    120          {
    121              return AT91C_BASE_PITC->PITC_PIVR;
   \                     PIT_GetPIVR:
   \   00000000   C700E0E3           MVN      R0,#+199
   \   00000004   ........           B        ?Subroutine1
    122          }

   Maximum stack usage in bytes:

     Function      .cstack
     --------      -------
     PIT_DisableIT      0
     PIT_Enable         0
     PIT_EnableIT       0
     PIT_GetMode        0
     PIT_GetPIIR        0
     PIT_GetPIVR        0
     PIT_GetStatus      0
     PIT_Init           0
     PIT_SetPIV         0


   Section sizes:

     Function/Label  Bytes
     --------------  -----
     PIT_Init          40
     ??Subroutine2_0    8
     PIT_SetPIV        24
     ?Subroutine0       8
     PIT_Enable        16
     PIT_EnableIT      20
     PIT_DisableIT     20
     PIT_GetMode        8
     ?Subroutine1      12
     PIT_GetStatus      4
     PIT_GetPIIR        8
     PIT_GetPIVR        8

 
 176 bytes in section .text
 
 176 bytes of CODE memory

Errors: none
Warnings: none

⌨️ 快捷键说明

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