I need SPI library for LPC2119 for realview compiler. i searched every where but all library re nasty code. most of them would have worked with SPI . please provide the library of it.
So how about saying which ones you've seen and considered "nasty"?
Why did you consider them "nasty"? What are your criteria for "nice"?
What do you require of this library?
i need SPI initialization, SPI send and SPI receive functions. i saw few examples of SD card interface. but the library very poor. If you have any library of SPI please post.
You say you've already seen a load of libraries, and rejected them because you think them "nasty" or "poor". So what's the point in anyone posting anything before we know:
1. What you've already seen;
2. What are your criteria for acceptance?
It would be a waste of time to have you just say, "I've already seen that", or, "I don't like that".
On the other hand, as you've seen several already - even poor ones - surely you should have enough to write your own by now...?