This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3200 hib

Other Parts Discussed in Thread: CC3200

CC3200 hib 选择gpio唤醒,怎么得到是哪个gpio唤醒的,有API吗?

  • //! \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);
    }

  • 您好,

         这个好像不能用于hib模式睡眠