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.

DM6467GPIO



能否给小弟提供一个DM6467的GPIO的例程,有点急

  • 看一个gpio控制led灯的就明白了,每个平台都差不多,大概过程:

    setup_pin_mux()

    omap_mux_init_gpio(gpio, OMAP_PIN_INPUT_PULLUP);

    gpio_request();

    irq_set_irq_type(OMAP_GPIO_IRQ(gpio),IRQ_TYPE_EDGE_FALLING);

    enable_irq(gpio_to_irq(gpio));

    gpio_direction_output(gpio, 1);