How to use dts or other setup to declare gpio pin Interrupt (e.g. a button)?
#2
Looks like I tracked down an example dts file here
https://github.com/armbian/sunxi-DT-over...button.dts

here is more explanation of how to implment
https://docs.armbian.com/Hardware_Allwin...m-overlays

Still need to edit, compile and try it, but at least good example to go from
  Reply


Messages In This Thread
RE: How to use dts or other setup to declare gpio pin Interrupt (e.g. a button)? - by dkebler - 06-12-2019, 10:37 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  RPi.GPIO python module for Pine A64/A64+ aquilegia 98 131,437 12-15-2022, 08:40 PM
Last Post: Fadazo
  fm transmitter with gpio weasel18 2 4,827 09-10-2019, 04:28 AM
Last Post: desai_amogh
Lightbulb Sample GPIO codes highlighting RPi.GPIO-PineA64 and the PI bus MarkHaysHarris777 6 11,116 06-07-2019, 12:37 AM
Last Post: tllim
Star GPIO, SPI and I2C C++ Lib databit 7 11,195 02-04-2019, 05:45 AM
Last Post: Jeff R
Information Howto: Controlling Pine64 GPIO via the filesystem (sysfs) on linux pfeerick 4 11,845 01-24-2019, 03:36 AM
Last Post: Fifth
  +LTS/SOPINE +PINEBOOK configuring Euler Bus pin generate interrupt RANJITT76 0 2,426 01-10-2019, 02:45 AM
Last Post: RANJITT76
  GPIO and SPI SamR1 20 31,574 03-15-2018, 10:32 AM
Last Post: jomoengineer
Question GPIO shockr 7 14,756 03-11-2018, 01:52 AM
Last Post: jomoengineer
  Read GPIO problem shworker 14 21,157 08-17-2017, 01:21 PM
Last Post: martinayotte
  GPIO fiq capability joseph 3 6,089 11-10-2016, 06:07 PM
Last Post: joseph

Forum Jump:


Users browsing this thread: 1 Guest(s)