cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
tanmay_biswas
Observer
Observer
3,797 Views
Registered: ‎11-12-2010

UARTLITE

I am beginner in EDK. I want to connect uartlite & PC.  But i cant understand the 

 XUartLite_Send(XUartLite *InstancePtr, u8 *DataBufferPtr, unsigned int NumBytes);

 

where i declared the data-buffer pointer & how can write it at the time of declaration.

thanx.

 

Tanmay.

Tags (1)
0 Kudos
3 Replies
eteam00
Professor
Professor
3,793 Views
Registered: ‎07-21-2009

Why not post this in the EDK forum?

SIGNATURE:
README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369

Summary:
1. Read the manual or user guide. Have you read the manual? Can you find the manual?
2. Search the forums (and search the web) for similar topics.
3. Do not post the same question on multiple forums.
4. Do not post a new topic or question on someone else's thread, start a new thread!
5. Students: Copying code is not the same as learning to design.
6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please).
7. You are not charged extra fees for comments in your code.
8. I am not paid for forum posts. If I write a good post, then I have been good for nothing.
bassman59
Historian
Historian
3,775 Views
Registered: ‎02-25-2008

 


@eteam00 wrote:

Why not post this in the EDK forum?


Because that would make too much sense.

 

----------------------------Yes, I do this for a living.
Tags (1)
ninjamafiakhan3
Explorer
Explorer
3,719 Views
Registered: ‎07-06-2008

You will have to define and declare the pointer before you call the Send function. The pointer would point to an array of characters. For details on how to do this please see the following link

 

http://www.cplusplus.com/doc/tutorial/pointers/

0 Kudos