AllenNeuralDynamics / AllenNeuralDynamics/harp.device.valve-controller

AUX GPIO Event Trigger ("Interrupts")

Aperta
#5 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C++
Stelle
0
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.