Search found 3 matches

by qq4056
Wed Dec 12, 2018 1:43 pm
Forum: ESP-IDF 中文讨论版
Topic: 关于ESP32 IO口配置成中断的问题
Replies: 5
Views: 12109

Re: 关于ESP32 IO口配置成中断的问题

没有产生中断,不知道什么原因 :shock:
by qq4056
Thu Dec 06, 2018 12:39 pm
Forum: ESP-IDF 中文讨论版
Topic: 关于ESP32 IO口配置成中断的问题
Replies: 5
Views: 12109

Re: 关于ESP32 IO口配置成中断的问题

我想用不同的方式实现IO的中断功能。你知道我哪里错了吗?
by qq4056
Mon Dec 03, 2018 1:20 pm
Forum: ESP-IDF 中文讨论版
Topic: 关于ESP32 IO口配置成中断的问题
Replies: 5
Views: 12109

关于ESP32 IO口配置成中断的问题

void PT_GpioInit() { gpio_config_t io_conf; //disable interrupt io_conf.intr_type = GPIO_PIN_INTR_DISABLE; //set as output mode io_conf.mode = GPIO_MODE_OUTPUT; //bit mask of the pins that you want to set,e.g.GPIO18/19 io_conf.pin_bit_mask = GPIO_OUTPUT_PIN_SEL; //disable pull-down mode io_conf.pul...