CC3200 hib 选择gpio唤醒,怎么得到是哪个gpio唤醒的,有API吗?
Terry Han:
//! \brief set GPIO as a wake up source from low power modes.//!//! \param none//!//! \return handle for the gpio used////*****************************************************************************cc_hndl SetGPIOAsWkUp(){ cc_hndl tGPIOHndl; // // setting up GPIO as a wk up source and configuring other related // parameters // tGPIOHndl = cc_gpio_open(GPIO_SRC_WKUP, GPIO_DIR_INPUT); cc_gpio_enable_notification(tGPIOHndl, GPIO_SRC_WKUP, INT_FALLING_EDGE,(GPIO_TYPE_NORMAL | GPIO_TYPE_WAKE_SOURCE)); return(tGPIOHndl);}
lilianyun li:
回复 Terry Han:
您好,
这个好像不能用于hib模式睡眠