yabo国际娱乐对话半导体客户支持-优势 https://support.dialog-semiconductor.com/resource-keywords/edge 上升沿上的外部GPIO中断 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/external-gpio-interrupt-rising-edge < div class = "字段field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >论坛:,< / div > < div class = "字段条目" > < div class =”field-item甚至“rel = " sioc: has_container " > < a href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -软件”“=“sioc:容器sioc:论坛”属性= " rdfs: label skos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量-软件< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产=“内容:编码”> < p >你好,< br / >我用DA14585 SDK 6.0.4,我还启用了外置睡眠模式。
g-sensor通过i2c连接到DA14585。有一个中断引脚。
传感器的中断设计为初始高,一旦数据准备好,中断引脚先低后高。
I would like to detect the rising edge for the interrupt pin, and I configure it如下:

in void set_pad_functions(void):
GPIO_ConfigurePin(I2C_INT1_PORT, I2C_INT1_PIN, INPUT_PULLUP, PID_GPIO, true);//G Sensor INT1
GPIO_RegisterCallback(GPIO0_IRQn, LIS3DH_Interrupt1_Handler);
GPIO_EnableIRQ(I2C_INT1_PORT, I2C_INT1_PIN, GPIO0_IRQn, false, true, 3);/ / 0 =比;然而,我发现我的回调函数将在每次唤醒时间被调用。
The reason may be that the GPIO_EnableIRQ(in set_pad_functions) is set again and the interrupt pin is high at that time.
As I know, the GPIO interruption of DA14585 is level triggered, right?
Do you guys have any idea to solve this problem?
Thanks.

Device: 
星期一,2017年7月10日03:59:07 +0000 stanley_yeh 64525年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/external-gpio-interrupt-rising-edge#comments