Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] how can C code access device driver?

Status
Not open for further replies.

spartekus

Member level 5
Joined
May 27, 2010
Messages
81
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Location
Duisburg, Germany
Activity points
1,918
Hi everyone,

i want to write a device driver (in linux), which has functions such as "write_memory" "read_memory", but i want to decide in C, when these functions will work.
How can C code control device driver?
thanks a lot!

best regards
 

The C code can control the devices. The only requirement is you should write the code for kernel space.
 

thank you srizbf:)
do you know any link for tutorial or example, i can read more about it? It would be so usefull.
 

Hello spartekus. A driver for what device? Do you want to develop a driver or do an API? There is a different. The device driver is a layer interface between the hardware and an aplication like SO and an API it's an interface layer which brings abtraction to programers
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top