|
@@ -120,7 +120,7 @@ static void PMU_WakeupPadInit(void)
|
|
|
{
|
|
|
const padWakeupSettings_t cfg =
|
|
|
{
|
|
|
- true, false, // group0 posedge, negedge
|
|
|
+ false, true, // group0 posedge, negedge
|
|
|
true, true, // group1 posedge, negedge
|
|
|
true, true, // group2 posedge, negedge
|
|
|
};
|
|
@@ -164,11 +164,11 @@ void BSP_CustomInit(void)
|
|
|
slpManGetPMUSettings();
|
|
|
|
|
|
PMU_WakeupPadInit();
|
|
|
- NVIC_DisableIRQ(PadWakeup0_IRQn);//can
|
|
|
+ NVIC_EnableIRQ(PadWakeup0_IRQn);//can
|
|
|
NVIC_EnableIRQ(PadWakeup1_IRQn);//rx
|
|
|
NVIC_EnableIRQ(PadWakeup2_IRQn);//lock
|
|
|
- NVIC_EnableIRQ(PadWakeup3_IRQn);//gsensor
|
|
|
- NVIC_EnableIRQ(PadWakeup4_IRQn);//gsensor
|
|
|
+ NVIC_DisableIRQ(PadWakeup3_IRQn);//gsensor
|
|
|
+ NVIC_DisableIRQ(PadWakeup4_IRQn);//gsensor
|
|
|
NVIC_DisableIRQ(PadWakeup5_IRQn);//wakeup2
|
|
|
CheckLockOutState();
|
|
|
slpManStartWaitATTimer();
|