--xxx------method 02 --- GPIOWRITE-RESET enterstopmode
This commit is contained in:
parent
4b6b7119d5
commit
c89fe472bc
|
@ -115,15 +115,15 @@ void PWR_EnterStopMode(void)
|
||||||
// --> normal work
|
// --> normal work
|
||||||
|
|
||||||
//method 02
|
//method 02
|
||||||
//HAL_GPIO_WritePin(GPIOA, GPIO_PIN_All, GPIO_PIN_RESET);
|
HAL_GPIO_WritePin(GPIOA, GPIO_PIN_All, GPIO_PIN_RESET);
|
||||||
//HAL_GPIO_WritePin(GPIOB, GPIO_PIN_All, GPIO_PIN_RESET);
|
HAL_GPIO_WritePin(GPIOB, GPIO_PIN_All, GPIO_PIN_RESET);
|
||||||
//HAL_GPIO_WritePin(GPIOC, GPIO_PIN_All, GPIO_PIN_RESET);
|
HAL_GPIO_WritePin(GPIOC, GPIO_PIN_All, GPIO_PIN_RESET);
|
||||||
// --- reboot in each interval re-join again and again
|
// --- reboot in each interval re-join again and again
|
||||||
|
|
||||||
//method 03
|
//method 03
|
||||||
HAL_GPIO_WritePin(GPIOA, 0x65FF, GPIO_PIN_RESET);
|
//HAL_GPIO_WritePin(GPIOA, 0x65FF, GPIO_PIN_RESET);
|
||||||
HAL_GPIO_WritePin(GPIOB, 0xFEC7, GPIO_PIN_RESET);
|
//HAL_GPIO_WritePin(GPIOB, 0xFEC7, GPIO_PIN_RESET);
|
||||||
HAL_GPIO_WritePin(GPIOC, 0xDFFF, GPIO_PIN_RESET);
|
//HAL_GPIO_WritePin(GPIOC, 0xDFFF, GPIO_PIN_RESET);
|
||||||
|
|
||||||
|
|
||||||
/* USER CODE END EnterStopMode_1 */
|
/* USER CODE END EnterStopMode_1 */
|
||||||
|
|
|
@ -350,8 +350,8 @@
|
||||||
:1015B800022001F09FFB00222A20114601F068FB5F
|
:1015B800022001F09FFB00222A20114601F068FB5F
|
||||||
:1015C8002A2001F097FB10B010BD00BF0028004092
|
:1015C8002A2001F097FB10B010BD00BF0028004092
|
||||||
:1015D8007047000008B5114803F04EFA00F06AFBA6
|
:1015D8007047000008B5114803F04EFA00F06AFBA6
|
||||||
:1015E800002246F2FF514FF0904001F007FF0C48EF
|
:1015E80000224FF6FF714FF0904001F007FF0C48C2
|
||||||
:1015F80000224FF6C76101F001FF0A4800224DF6AC
|
:1015F80000224FF6FF7101F001FF0A4800224FF662
|
||||||
:10160800FF7101F0FBFE00F0EDFE074B0120C3F86F
|
:10160800FF7101F0FBFE00F0EDFE074B0120C3F86F
|
||||||
:101618008800BDE8084001F057BF00BF3C02002029
|
:101618008800BDE8084001F057BF00BF3C02002029
|
||||||
:1016280000040048000800480004005800F0E1BE2B
|
:1016280000040048000800480004005800F0E1BE2B
|
||||||
|
|
|
@ -1968,16 +1968,16 @@ Disassembly of section .text:
|
||||||
80015e0: f003 fa4e bl 8004a80 <HAL_UART_DeInit>
|
80015e0: f003 fa4e bl 8004a80 <HAL_UART_DeInit>
|
||||||
80015e4: f000 fb6a bl 8001cbc <vcom_DeInit>
|
80015e4: f000 fb6a bl 8001cbc <vcom_DeInit>
|
||||||
80015e8: 2200 movs r2, #0
|
80015e8: 2200 movs r2, #0
|
||||||
80015ea: f246 51ff movw r1, #26111 @ 0x65ff
|
80015ea: f64f 71ff movw r1, #65535 @ 0xffff
|
||||||
80015ee: f04f 4090 mov.w r0, #1207959552 @ 0x48000000
|
80015ee: f04f 4090 mov.w r0, #1207959552 @ 0x48000000
|
||||||
80015f2: f001 ff07 bl 8003404 <HAL_GPIO_WritePin>
|
80015f2: f001 ff07 bl 8003404 <HAL_GPIO_WritePin>
|
||||||
80015f6: 480c ldr r0, [pc, #48] @ (8001628 <PWR_EnterStopMode+0x4c>)
|
80015f6: 480c ldr r0, [pc, #48] @ (8001628 <PWR_EnterStopMode+0x4c>)
|
||||||
80015f8: 2200 movs r2, #0
|
80015f8: 2200 movs r2, #0
|
||||||
80015fa: f64f 61c7 movw r1, #65223 @ 0xfec7
|
80015fa: f64f 71ff movw r1, #65535 @ 0xffff
|
||||||
80015fe: f001 ff01 bl 8003404 <HAL_GPIO_WritePin>
|
80015fe: f001 ff01 bl 8003404 <HAL_GPIO_WritePin>
|
||||||
8001602: 480a ldr r0, [pc, #40] @ (800162c <PWR_EnterStopMode+0x50>)
|
8001602: 480a ldr r0, [pc, #40] @ (800162c <PWR_EnterStopMode+0x50>)
|
||||||
8001604: 2200 movs r2, #0
|
8001604: 2200 movs r2, #0
|
||||||
8001606: f64d 71ff movw r1, #57343 @ 0xdfff
|
8001606: f64f 71ff movw r1, #65535 @ 0xffff
|
||||||
800160a: f001 fefb bl 8003404 <HAL_GPIO_WritePin>
|
800160a: f001 fefb bl 8003404 <HAL_GPIO_WritePin>
|
||||||
800160e: f000 feed bl 80023ec <HAL_SuspendTick>
|
800160e: f000 feed bl 80023ec <HAL_SuspendTick>
|
||||||
8001612: 4b07 ldr r3, [pc, #28] @ (8001630 <PWR_EnterStopMode+0x54>)
|
8001612: 4b07 ldr r3, [pc, #28] @ (8001630 <PWR_EnterStopMode+0x54>)
|
||||||
|
|
Loading…
Reference in New Issue