Forum Discussion
Hi Alex
In the c program, we will be using the Hwlibs.
It is a set a library for you to access the hardware using apis.
https://www.rocketboards.org/foswiki/Documentation/HWLib#SoC_Abstraction_Layer_40SoCAL_41
You could find the list of API and its description here:
https://www.rocketboards.org/foswiki/pub/Documentation/HWLib/hwlib_api.tar.gz
Once you have the hwlibs installed. You could refer to the example.
In the example you will need to include the related header files and you could access the hardware and register.
e.g.
#include "alt_interrupt.h"
#include "alt_timers.h"
Regards
Jingyang, Teh
- CAlex2 years ago
Contributor
Hi,
Thank you for the help.
I was informed that Linux can't use alt_interrupt.h , it only serve the bare metal invironment.
Now I'm trying to learn how to get an irq server in Linux system.
Could you find any resources for the De10 board?
Any way, Thank you for the help again.
reguards