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.

GPIO 时间

Other Parts Discussed in Thread: AM1808

大家好!

我在UBOOT中,   

    gpio_request(31, "gpmc_wpn");
    gpio_direction_output(31, 1);

    for(i=0;i<10000;i++)
    {
        gpio_set_value(31,0);
        gpio_set_value(31,1);
    }

测试出: gpio_set_value这条命令执行时间为2.5us左右,请问一下怎么速度这么慢!

我在内核驱动中测试,也是一样速度,请问需要关注哪些方面?谢谢!