mbed driver architecture

23 Aug 2011

Hi,

Can I get the source code of the reference library or atleast architecture diagram of the code that gets downloaded. I need to control some low level functions of the SPI bus.

I need to control the Slave select pin in slave SPI mode. Slave select in my app is transaction based not word based.

let me know if you need more details.

Regards, Shankar

23 Aug 2011

Download the LPC1768 user manual, the information you need is in there.

mbed.h comes with the register definitions that gives you access to lower level functions

23 Aug 2011

where can I find the mbed.h?

23 Aug 2011

you can just include the "mbed.h" in your program

the register definitions are here if you want to go low-level on your drivers

http://mbed.org/projects/libraries/svn/mbed/trunk/LPC1768/LPC17xx.h