3 Replies Latest reply on Nov 24, 2019 9:50 PM by jawu_4351971

    CyU3PGpioSetSimpleConfig 返回0x44 CY_U3P_ERROR_NOT_CONFIGURED

    jawu_4351971

       

      初始化如下代码返回0x44的错误是怎么回事?

      CyU3PDeviceGpioOverride(17, CyFalse);  

      gpioConf.outValue = CyFalse;

          gpioConf.driveLowEn = CyFalse;

          gpioConf.driveHighEn = CyFalse;

          gpioConf.inputEn = CyTrue;

          gpioConf.intrMode = CY_U3P_GPIO_INTR_POS_EDGE;

          status = CyU3PGpioSetSimpleConfig(17, &gpioConf);