LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 11-17-2009, 03:55 AM   #1
dongbo
LQ Newbie
 
Registered: Aug 2009
Location: Singapore
Distribution: RedHat 8; kernel 2.4.18
Posts: 15

Rep: Reputation: 0
Cool A question regarding external device access


Hi all,

I have finished a spi driver designed to access an external device. There are two types of command sent by the host, read and write. After writing a command to SPI, data should be read back, and there should be no time interval between the two operations.

My question is will the driver module be interrupted, should I implement a protection?

Thanks!
 
Old 11-17-2009, 08:52 PM   #2
threaderslash
Member
 
Registered: Dec 2008
Location: HongKong
Distribution: Fedora/Centos/RedHat
Posts: 109

Rep: Reputation: 15
Cool

Get a look there:
http://www.uclinux.org/pub/uClinux/p...ice_driver.pdf
http://www.uclinux.org
It should help you.
 
Old 11-18-2009, 04:12 AM   #3
dongbo
LQ Newbie
 
Registered: Aug 2009
Location: Singapore
Distribution: RedHat 8; kernel 2.4.18
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks, it seems that interrupt protection is needed here.
 
  


Reply

Tags
member


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
External device ust Linux - Server 1 08-25-2008 09:33 PM
How to mount/access external Firewire device RadioActiveLamb Linux - Newbie 5 07-29-2008 07:19 PM
How to access the nodes under the /dev directory to access the device? Nishant Desai Programming 2 11-18-2006 04:09 PM
Can access network, cannot access external addresses -Olly- Linux - Wireless Networking 2 10-08-2006 06:10 AM
device path for external device ust Linux - General 4 11-22-2004 08:57 AM


All times are GMT -5. The time now is 02:47 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration