CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

how to build driver for a device?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
noisepic



Joined: 24 Jul 2005
Posts: 20

View user's profile Send private message

how to build driver for a device?
PostPosted: Fri Aug 19, 2005 9:15 am     Reply with quote

For reading or writing to a device, we need driver . And there are many way to communicate with them : 3-wire,1-wire,I2C...
Any one can tell the way to build driver from datasheet. pls, give specific examples!
valemike
Guest







PostPosted: Fri Aug 19, 2005 9:45 am     Reply with quote

What examples?

Go to C:\Program Files\PICC\examples\ and read some app notes.
Go to Maxim-ic.com and read some app-notes on 1-wire
Go to Microchip.com and read some app-notes.

Is this the final hour of a homework assignment?
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Fri Aug 19, 2005 11:50 am     Reply with quote

Its simple. Read the datasheet and do what it says.
Kit
Guest







PostPosted: Tue Aug 23, 2005 1:59 am     Reply with quote

it's easy if the IC is synchronous.

i am struggling to write the driver for async transmission without oscilloscope.

good luck.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group