📄 hw_config.txt
字号:
; generated by ARM/Thumb C/C++ Compiler with , RVCT3.1 [Build 938] for uVision
; commandline ArmCC [--split_sections --debug -c --asm --interleave -o..\Release\hw_config.o --depend=..\Release\hw_config.d --device=DARMSTM --apcs=interwork -O3 -I..\code\header -I..\code\library\inc -I..\..\include -I..\..\..\..\library\inc -I..\..\..\..\..\FWLib\library\inc -I..\code\FAT16 -I..\code\driver -ID:\Keil\ARM\INC\ST\STM32F10x -DVECT_TAB_FLASH --omf_browse=..\Release\hw_config.crf ..\code\speaker\hw_config.c]
THUMB
AREA ||i.Set_System||, CODE, READONLY, ALIGN=1
Set_System PROC
;;;37 void Set_System(void)
;;;38 {
000000 b510 PUSH {r4,lr}
;;;39
;;;40 /* Enable GPIOB, TIM2 & TIM4 clock */
;;;41 RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOB , ENABLE);
000002 2101 MOVS r1,#1
000004 2008 MOVS r0,#8
000006 f7fffffe BL RCC_APB2PeriphClockCmd
;;;42
;;;43 RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM2 | RCC_APB1Periph_TIM4 , ENABLE);
00000a 2101 MOVS r1,#1
00000c e8bd4010 POP {r4,lr}
000010 2005 MOVS r0,#5
000012 f7ffbffe B.W RCC_APB1PeriphClockCmd
;;;44
;;;45 }
;;;46
ENDP
AREA ||i.NVIC_Config||, CODE, READONLY, ALIGN=1
NVIC_Config PROC
;;;53 void NVIC_Config(void)
;;;54 {
000000 b508 PUSH {r3,lr}
;;;55 NVIC_InitTypeDef NVIC_InitStructure;
;;;56
;;;57 #ifdef VECT_TAB_RAM
;;;58 /* Set the Vector Table base location at 0x20000000 */
;;;59 NVIC_SetVectorTable(NVIC_VectTab_RAM, 0x0);
;;;60 #else /* VECT_TAB_FLASH */
;;;61 /* Set the Vector Table base location at 0x08000000 */
;;;62 NVIC_SetVectorTable(NVIC_VectTab_FLASH, 0x0);
000002 2100 MOVS r1,#0
000004 f04f6000 MOV r0,#0x8000000
000008 f7fffffe BL NVIC_SetVectorTable
;;;63 #endif
;;;64
;;;65 /* Enable the TIM2 Interrupt */
;;;66 NVIC_InitStructure.NVIC_IRQChannel = TIM2_IRQChannel;
00000c 201c MOVS r0,#0x1c
00000e f88d0000 STRB r0,[sp,#0]
;;;67 NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 0;
000012 2000 MOVS r0,#0
000014 f88d0001 STRB r0,[sp,#1]
;;;68 NVIC_InitStructure.NVIC_IRQChannelSubPriority = 0;
000018 f88d0002 STRB r0,[sp,#2]
;;;69 NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE;
00001c 2001 MOVS r0,#1
00001e f88d0003 STRB r0,[sp,#3]
;;;70 NVIC_Init(&NVIC_InitStructure);
000022 4668 MOV r0,sp
000024 f7fffffe BL NVIC_Init
;;;71 }
000028 bd08 POP {r3,pc}
;;;72 void NVIC_Config_Disable(void)
ENDP
AREA ||i.NVIC_Config_Disable||, CODE, READONLY, ALIGN=1
NVIC_Config_Disable PROC
;;;72 void NVIC_Config_Disable(void)
;;;73 {
000000 b508 PUSH {r3,lr}
;;;74 NVIC_InitTypeDef NVIC_InitStructure;
;;;75 NVIC_InitStructure.NVIC_IRQChannel = TIM2_IRQChannel;
000002 201c MOVS r0,#0x1c
000004 f88d0000 STRB r0,[sp,#0]
;;;76 NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 0;
000008 2000 MOVS r0,#0
00000a f88d0001 STRB r0,[sp,#1]
;;;77 NVIC_InitStructure.NVIC_IRQChannelSubPriority = 0;
00000e f88d0002 STRB r0,[sp,#2]
;;;78 NVIC_InitStructure.NVIC_IRQChannelCmd = DISABLE;
000012 f88d0003 STRB r0,[sp,#3]
;;;79 NVIC_Init(&NVIC_InitStructure);
000016 4668 MOV r0,sp
000018 f7fffffe BL NVIC_Init
;;;80 }
00001c bd08 POP {r3,pc}
;;;81
ENDP
AREA ||.data||, DATA, ALIGN=0
HSEStartUpStatus
000000 00 DCB 0x00
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -