how to interact with hardware using c??
well there are system calls that interacts with the hardware you just need to call these system calls using api’s like as you do in kernel programming in linux…hope this will help to know more just search for kernel or linux or system programming using c.
Interact with HW? Why you need this in speed programming? What exactly you want to do?