📄 stm32f10x_it.txt
字号:
;;;535 SC_PowerCmd(ENABLE);
000048 2001 MOVS r0,#1
00004a f7fff7ff BL SC_PowerCmd
;;;536
;;;537 /* Reset the card */
;;;538 SC_Reset(Bit_RESET);
00004e 2000 MOVS r0,#0
000050 f7fff7ff BL SC_Reset
|L33.84|
;;;539 }
;;;540 }
;;;541 if(EXTI_GetITStatus(EXTI_Line8) != RESET)
000054 4620 MOV r0,r4
000056 f7fff7ff BL EXTI_GetITStatus
00005a 2800 CMP r0,#0
00005c d004 BEQ |L33.104|
;;;542 {
;;;543 /* Clear the EXTI Line 8 */
;;;544 EXTI_ClearITPendingBit(EXTI_Line8);
00005e 4620 MOV r0,r4
000060 e8bde8bd POP {r4,lr}
000064 f7fff7ff B.W EXTI_ClearITPendingBit
|L33.104|
;;;545 }
;;;546 }
000068 bd10 POP {r4,pc}
;;;547
ENDP
AREA ||i.TIM1_BRK_IRQHandler||, CODE, READONLY, ALIGN=1
TIM1_BRK_IRQHandler PROC
;;;556 {
;;;557 }
000000 4770 BX lr
;;;558
ENDP
AREA ||i.TIM1_UP_IRQHandler||, CODE, READONLY, ALIGN=2
TIM1_UP_IRQHandler PROC
;;;567 void TIM1_UP_IRQHandler(void)
;;;568 {
000000 e92de92d PUSH {r4-r8,lr}
;;;569 /* Clear the TIM1 Update pending bit */
;;;570 TIM_ClearITPendingBit(TIM1, TIM_IT_Update);
000004 2101 MOVS r1,#1
000006 482a LDR r0,|L35.176|
000008 f7fff7ff BL TIM_ClearITPendingBit
;;;571
;;;572 if(AlarmStatus == 1)
00000c 4c29 LDR r4,|L35.180|
00000e 6860 LDR r0,[r4,#4] ; AlarmStatus
000010 4d29 LDR r5,|L35.184|
000012 2600 MOVS r6,#0
000014 2801 CMP r0,#1
000016 d119 BNE |L35.76|
;;;573 {
;;;574 if((LedCounter & 0x01) == 0)
000018 68a0 LDR r0,[r4,#8] ; LedCounter
00001a f44ff44f MOV r1,#0x3c0
00001e 07c0 LSLS r0,r0,#31
000020 d103 BNE |L35.42|
;;;575 {
;;;576 GPIO_SetBits(GPIOF, GPIO_Pin_6 | GPIO_Pin_7 | GPIO_Pin_8 | GPIO_Pin_9);
000022 4628 MOV r0,r5
000024 f7fff7ff BL GPIO_SetBits
000028 e005 B |L35.54|
|L35.42|
;;;577 }
;;;578 else if ((LedCounter & 0x01) == 0x01)
00002a 68a0 LDR r0,[r4,#8] ; LedCounter
00002c 07c0 LSLS r0,r0,#31
00002e d002 BEQ |L35.54|
;;;579 {
;;;580 GPIO_ResetBits(GPIOF, GPIO_Pin_6 | GPIO_Pin_7 | GPIO_Pin_8 | GPIO_Pin_9);
000030 4628 MOV r0,r5
000032 f7fff7ff BL GPIO_ResetBits
|L35.54|
;;;581 }
;;;582
;;;583 LedCounter++;
000036 68a0 LDR r0,[r4,#8] ; LedCounter
000038 1c40 ADDS r0,r0,#1
00003a 60a0 STR r0,[r4,#8] ; LedCounter
;;;584
;;;585 if(LedCounter == 300)
00003c 68a0 LDR r0,[r4,#8] ; LedCounter
00003e f5b0f5b0 CMP r0,#0x12c
000042 d101 BNE |L35.72|
;;;586 {
;;;587 AlarmStatus = 0;
000044 6066 STR r6,[r4,#4] ; AlarmStatus
;;;588 LedCounter = 0;
000046 60a6 STR r6,[r4,#8] ; LedCounter
|L35.72|
;;;589 }
;;;590 }
;;;591 else
;;;592 {
;;;593 /* If LedShowStatus is TRUE: enable leds toggling */
;;;594 if(Get_LedShowStatus() != 0)
;;;595 {
;;;596 switch(Index)
;;;597 {
;;;598 /* LD1 turned on, LD4 turned off */
;;;599 case 0:
;;;600 {
;;;601 GPIO_ResetBits(GPIOF, GPIO_Pin_9);
;;;602 GPIO_SetBits(GPIOF, GPIO_Pin_6);
;;;603 Index++;
;;;604 break;
;;;605 }
;;;606 /* LD2 turned on, LD1 turned off */
;;;607 case 1:
;;;608 {
;;;609 GPIO_ResetBits(GPIOF, GPIO_Pin_6);
;;;610 GPIO_SetBits(GPIOF, GPIO_Pin_7);
;;;611 Index++;
;;;612 break;
;;;613 }
;;;614 /* LD3 turned on, LD2 turned off */
;;;615 case 2:
;;;616 {
;;;617 GPIO_ResetBits(GPIOF, GPIO_Pin_7);
;;;618 GPIO_SetBits(GPIOF, GPIO_Pin_8);
;;;619 Index++;
;;;620 break;
;;;621 }
;;;622 /* LD4 turned on, LD3 turned off */
;;;623 case 3:
;;;624 {
;;;625 GPIO_ResetBits(GPIOF, GPIO_Pin_8);
;;;626 GPIO_SetBits(GPIOF, GPIO_Pin_9);
;;;627 Index++;
;;;628 break;
;;;629 }
;;;630
;;;631 default:
;;;632 break;
;;;633 }
;;;634 /* Reset Index to replay leds switch on sequence */
;;;635 if(Index == 4)
;;;636 {
;;;637 Index = 0;
;;;638 }
;;;639 }
;;;640 }
;;;641 }
000048 e8bde8bd POP {r4-r8,pc}
|L35.76|
00004c f7fff7ff BL Get_LedShowStatus
000050 2800 CMP r0,#0 ;594
000052 d0f9 BEQ |L35.72|
000054 6820 LDR r0,[r4,#0] ;596 ; Index
000056 f44ff44f MOV r7,#0x200 ;596
00005a b168 CBZ r0,|L35.120|
00005c 2801 CMP r0,#1 ;596
00005e d011 BEQ |L35.132|
000060 f44ff44f MOV r8,#0x100 ;596
000064 2802 CMP r0,#2 ;596
000066 d01d BEQ |L35.164|
000068 2803 CMP r0,#3 ;596
00006a d116 BNE |L35.154|
00006c 4641 MOV r1,r8 ;625
00006e 4628 MOV r0,r5 ;625
000070 f7fff7ff BL GPIO_ResetBits
000074 4639 MOV r1,r7 ;626
000076 e00a B |L35.142|
|L35.120|
000078 4639 MOV r1,r7 ;601
00007a 4628 MOV r0,r5 ;601
00007c f7fff7ff BL GPIO_ResetBits
000080 2140 MOVS r1,#0x40 ;602
000082 e004 B |L35.142|
|L35.132|
000084 2140 MOVS r1,#0x40 ;609
000086 4628 MOV r0,r5 ;609
000088 f7fff7ff BL GPIO_ResetBits
00008c 2180 MOVS r1,#0x80 ;610
|L35.142|
00008e 4628 MOV r0,r5 ;602
000090 f7fff7ff BL GPIO_SetBits
000094 6820 LDR r0,[r4,#0] ;603 ; Index
000096 1c40 ADDS r0,r0,#1 ;603
000098 6020 STR r0,[r4,#0] ;603 ; Index
|L35.154|
00009a 6820 LDR r0,[r4,#0] ;635 ; Index
00009c 2804 CMP r0,#4 ;635
00009e d1d3 BNE |L35.72|
0000a0 6026 STR r6,[r4,#0] ;637 ; Index
0000a2 e7d1 B |L35.72|
|L35.164|
0000a4 2180 MOVS r1,#0x80 ;617
0000a6 4628 MOV r0,r5 ;617
0000a8 f7fff7ff BL GPIO_ResetBits
0000ac 4641 MOV r1,r8 ;618
0000ae e7ee B |L35.142|
;;;642
ENDP
|L35.176|
0000b0 40012c00 DCD 0x40012c00
|L35.180|
0000b4 00000000 DCD ||.data||
|L35.184|
0000b8 40011c00 DCD 0x40011c00
AREA ||i.TIM1_TRG_COM_IRQHandler||, CODE, READONLY, ALIGN=1
TIM1_TRG_COM_IRQHandler PROC
;;;652 {
;;;653 }
000000 4770 BX lr
;;;654
ENDP
AREA ||i.TIM1_CC_IRQHandler||, CODE, READONLY, ALIGN=1
TIM1_CC_IRQHandler PROC
;;;663 {
;;;664 }
000000 4770 BX lr
;;;665
ENDP
AREA ||i.TIM2_IRQHandler||, CODE, READONLY, ALIGN=1
TIM2_IRQHandler PROC
;;;674 {
;;;675 }
000000 4770 BX lr
;;;676
ENDP
AREA ||i.TIM3_IRQHandler||, CODE, READONLY, ALIGN=1
TIM3_IRQHandler PROC
;;;685 {
;;;686 }
000000 4770 BX lr
;;;687
ENDP
AREA ||i.TIM4_IRQHandler||, CODE, READONLY, ALIGN=1
TIM4_IRQHandler PROC
;;;696 {
;;;697 }
000000 4770 BX lr
;;;698
ENDP
AREA ||i.I2C1_EV_IRQHandler||, CODE, READONLY, ALIGN=1
I2C1_EV_IRQHandler PROC
;;;707 {
;;;708 }
000000 4770 BX lr
;;;709
ENDP
AREA ||i.I2C1_ER_IRQHandler||, CODE, READONLY, ALIGN=1
I2C1_ER_IRQHandler PROC
;;;718 {
;;;719 }
000000 4770 BX lr
;;;720
ENDP
AREA ||i.I2C2_EV_IRQHandler||, CODE, READONLY, ALIGN=1
I2C2_EV_IRQHandler PROC
;;;729 {
;;;730 }
000000 4770 BX lr
;;;731
ENDP
AREA ||i.I2C2_ER_IRQHandler||, CODE, READONLY, ALIGN=1
I2C2_ER_IRQHandler PROC
;;;740 {
;;;741 }
000000 4770 BX lr
;;;742
ENDP
AREA ||i.SPI1_IRQHandler||, CODE, READONLY, ALIGN=1
SPI1_IRQHandler PROC
;;;751 {
;;;752 }
000000 4770 BX lr
;;;753
ENDP
AREA ||i.SPI2_IRQHandler||, CODE, READONLY, ALIGN=2
SPI2_IRQHandler PROC
;;;761 void SPI2_IRQHandler(void)
;;;762 {
000000 b510 PUSH {r4,lr}
;;;763 if ((SPI_I2S_GetITStatus(SPI2, SPI_I2S_IT_TXE) == SET))
000002 2171 MOVS r1,#0x71
000004 4804 LDR r0,|L46.24|
000006 f7fff7ff BL SPI_I2S_GetITStatus
00000a 2801 CMP r0,#1
00000c d103 BNE |L46.22|
;;;764 {
;;;765 /* Send data on the SPI2 and Check the current commands */
;;;766 I2S_CODEC_DataTransfer();
00000e e8bde8bd POP {r4,lr}
000012 f7fff7ff B.W I2S_CODEC_DataTransfer
|L46.22|
;;;767 }
;;;768 }
000016 bd10 POP {r4,pc}
;;;769
ENDP
|L46.24|
000018 40003800 DCD 0x40003800
AREA ||i.USART1_IRQHandler||, CODE, READONLY, ALIGN=1
USART1_IRQHandler PROC
;;;778 {
;;;779 }
000000 4770 BX lr
;;;780
ENDP
AREA ||i.USART2_IRQHandler||, CODE, READONLY, ALIGN=1
USART2_IRQHandler PROC
;;;789 {
;;;790 }
000000 4770 BX lr
;;;791
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -