NXP&x27;s KEAZN64 arm控制器处于低功率模式(停止模式)并使用中断进行唤醒
我能用电流来实现它NXP&x27;s KEAZN64 arm控制器处于低功率模式(停止模式)并使用中断进行唤醒,arm,embedded,microcontroller,processor,nxp-microcontroller,Arm,Embedded,Microcontroller,Processor,Nxp Microcontroller,我能用电流来实现它 Enable_Interrupt(INT_KBI0);//KBO inetrrupt dio_set_data_direction(DIO_PORT_B,DIO_PIN_1,DIO_INPUT); //as input dio_enable_interrupt( DIO_PORT_B,DIO_PIN_1,DIO_EDGE_RAISE); // to detect edge /* disable LVD in stop mode */
Enable_Interrupt(INT_KBI0);//KBO inetrrupt
dio_set_data_direction(DIO_PORT_B,DIO_PIN_1,DIO_INPUT); //as input
dio_enable_interrupt( DIO_PORT_B,DIO_PIN_1,DIO_EDGE_RAISE); // to detect edge
/* disable LVD in stop mode */
pPMC->SPMSC1 &= ~(PMC_SPMSC1_LVDE_MASK | PMC_SPMSC1_LVDRE_MASK | PMC_SPMSC1_LVDSE_MASK);
/* Set the SLEEPDEEP bit to enable deep sleep mode (STOP) */
SCB->SCR |= SCB_SCR_SLEEPDEEP_Msk;
#pragma asm
wfi
#pragma endasm