Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: I2C example for AT91SAM9621 using at91sam9621ek_i2c.dll ?
PostPosted: Mon Oct 18, 2010 2:36 pm 
Offline

Joined: Thu Aug 05, 2010 2:21 pm
Posts: 4
Hi,

I created a Windows CE 6.0 image using the at91sam9621_ek BSP. Now I want to implement an I2C communication in my device software. What I search is an example how to use the at91sam9621ek_i2c.dll from the BSP to read and write data. I use the .NET Compact Framework and C# for developement.

I know there are the following exports:
I2C_Init
I2C_Deinit
I2C_Open
I2C_Close
I2C_Read
I2C_Write
I2C_Seek
I2C_IOControl
I2C_PowerDown
I2C_PowerUp
I2C_DllEntry

But I don't know how to call them and what parameters they expect.
Please could someone give me a small example how to use those DLLs from Atmel?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to: