- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am a beginner.And I find altera_pio_button.c in "/driver/char". I want to read button's value and generate a ISR.
How do I use the functions in this file("altera_pio_button.c").Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try:
cat /dev/button and hitting some buttons on your dev board. If the altera button driver was included in your kernel, you should see numbers showing up on your console as you press the buttons on the development board.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page