AllenNeuralDynamics / AllenNeuralDynamics/harp.device.valve-controller

AUX GPIO Event Trigger ("Interrupts")

未关闭
#5 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C++
星标
0
派生
1
PR 合并指标
30 天内没有已合并 PR

描述

The values configured as digital *inputs* need to be able to send Harp `EVENT` reply messages if their outputs rise, fall, or change.

We need to be able to configure which of the digital inputs will emit these messages, and on what condition they will emit. We can do this with 3 registers:
```cpp
{
uint8_t AuxGPIOInputEvent;
uint8_t AuxGPIORise;
uint8_t AuxGPIOFall;
}
```

The `AuxGPIOInputEvent` will configure which GPIOs will emit a message, and the following two registers will configure what pin change (or both) will emit the EVENT.

These events should emit from the `AuxGPIOInputEvent` or `AuxGPIOState` register.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。