libspiagentspiagent_gpio_configure_interrupt Method |
Configure an LPC1114 I/O Procesor GPIO pin interrupt mode.
Namespace: IO.BindingsAssembly: libsimpleio (in libsimpleio.dll) Version: 2.2026.331.1
Syntaxpublic static void spiagent_gpio_configure_interrupt(
uint pin,
uint intconfig,
out int error
)
Parameters
- pin UInt32
- GPIO pin number
- intconfig UInt32
- Interrupt edge detection configuration
(0=disabled, 1=falling edge, 2=rising edge, 3=both edges).
- error Int32
- Set to 0 upon success, or an
errno
error number upon failure.
See Also