AllenNeuralDynamics / AllenNeuralDynamics/harp.device.valve-controller

AUX GPIO Event Trigger ("Interrupts")

Offen
#5 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C++
Sterne
0
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.