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

📄 inithardware.asm

📁 用 Hitex 工具软件开发 stm32 的例子
💻 ASM
字号:
;;/* 
;; ********************************************************************
;; * Project:     Systick example demo for STM32
;; *
;; * System:   	Cortex-M3 32 Bit
;; * Compiler:  	Tasking
;; *
;; * Date:      	2007-09-27
;; * Author:   
;; *
;; * Rights:    	Hitex Development Tools GmbH
;; *            	Greschbachstr. 12
;; *            	D-76229 Karlsruhe
;; ********************************************************************
;; * Description:
;; *  - hardware init
;; ********************************************************************
;; * History:
;; *
;; *  Revision 1.0    2007/09/27      We
;; *     Initial revision 
;; ********************************************************************
;; * This is a preliminary version.
;; *
;; * WARRANTY:  HITEX warrants that the media on which the SOFTWARE is 
;; * furnished is free from defects in materials and workmanship under 
;; * normal use and service for a period of ninety (90) days. HITEX entire
;; * liability and your exclusive remedy shall be the replacement of the 
;; * SOFTWARE if the media is defective. This Warranty is void if failure
;; * of the media resulted from unauthorized modification, accident, abuse,
;; * or misapplication.
;; *
;; * DISCLAIMER:  OTHER THAN THE ABOVE WARRANTY, THE SOFTWARE IS FURNISHED
;; * "AS IS" WITHOUT WARRANTY OF ANY KIND. HITEX DISCLAIMS ALL OTHER WARRANTIES,
;; * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES
;; * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
;; *
;; * NEITHER HITEX NOR ITS AFFILIATES SHALL BE LIABLE FOR ANY DAMAGES ARISING
;; * OUT OF THE USE OF OR INABILITY TO USE THE SOFTWARE, INCLUDING DAMAGES FOR
;; * LOSS OF PROFITS, BUSINESS INTERRUPTION, OR ANY SPECIAL, INCIDENTAL, INDIRECT
;; * OR CONSEQUENTIAL DAMAGES EVEN IF HITEX HAS BEEN ADVISED OF THE POSSIBILITY 
;; * OF SUCH DAMAGES.
;; ********************************************************************/
; hardware uinitialization if required

   .section .text.librt
      .if @thumb()
         .thumb
      .else
         .arm
      .endif

; default (empty) init_hardware
      .global _init_hardware
_init_hardware:      .type func
         bx      lr

      .size   _init_hardware,$-_init_hardware
   .endsec

   .calls  '_init_hardware','',0

   .end

⌨️ 快捷键说明

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