Post Go back to editing


   我用ADXL345在INT1端口上配置了双击中断,但是双击后触发了。INT1端口的值一直保持在高电平,没有回到低电平。我想知道如何将端口 INT1 重置为原始低电平。

  • 在数据手册中断部分对中断置位有详细描述。

    The interrupt functions are latched and cleared by either reading the data registers (Address 0x32 to Address 0x37) until the interrupt condition is no longer valid for the data-related interrupts or by reading the INT_SOURCE register (Address 0x30) for the remaining interrupts. This section describes the interrupts that can be set in the INT_ENABLE register and monitored in the INT_SOURCE register.