|
nrfcxx
0.1.0
C++-17 Framework for Nordic nRF5 Devices
|
Class supporting GPIO instrumentation triggered by peripheral events. More...
#include <nrfcxx/periph.hpp>
Public Member Functions | |
| instr_psel_gpiote (unsigned int psel, PPI::event_reference_type eep, bool enable=true) | |
| Construct the instance. More... | |
| instr_psel_gpiote (const instr_psel_gpiote &)=delete | |
| instr_psel_gpiote & | operator= (const instr_psel_gpiote &)=delete |
| instr_psel_gpiote (instr_psel_gpiote &&)=delete | |
| instr_psel_gpiote & | operator= (instr_psel_gpiote &&)=delete |
| operator bool () const | |
| Implicit cast to bool, true if the instrumentation has its required instances. | |
| void | enable () |
| Enable the link from the event to the GPIO. | |
| void | disable () |
| Disable the link from the event to the GPIO. | |
Class supporting GPIO instrumentation triggered by peripheral events.
Instances of this link a GPIO identified by PSEL with an event register. When enabled each event triggers a polarity change in the GPIO.
|
inline |
Construct the instance.
| psel | the GPIO pin selector for the line that should be toggled on events. |
| eep | the event end point that triggers changes in line state. |
| enable | if true (default) the instance is automatically enabled when it is constructed. |
1.8.16