AllenNeuralDynamics / AllenNeuralDynamics/harp.device.valve-controller

AUX GPIO Event Trigger ("Interrupts")

Open
#5 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.