Code:
gpio_intr_handler_register(gpio_intr_handler);
_xt_isr_unmask(1<<ETS_GPIO_INUM);
GPIO_ConfigTypeDef test_conf;
test_conf.GPIO_IntrType=GPIO_PIN_INTR_NEGEDGE;
test_conf.GPIO_Mode=GPIO_Mode_Input;
test_conf.GPIO_Pin=GPIO_Pin_14|GPIO_Pin_15;
test_conf.GPIO_Pullup=GPIO_PullUp_DIS;
gpio_config(&test_conf);
Statistics: Posted by costaud — Wed Dec 24, 2014 1:53 pm