Dear Sir/Madam,
I have our own Vybrid VF3x board a cash register. I have installed ARM-DS5, and MQX on windows7. I compiled and build all bsp and psp libraries as explained in " Getting Started with ARM® Development Studio 5 (DS-5™) with Freescale MQX™ RTOS" document, exported helloWorld2 project into my workspace, compiled, built, and now I can debug it with openSDA and DS-5 debugger.
I have a real time clock chip in my hardware. I want to integrate its SW into my helloworld2 project.
I am using I2C1 pins, how can I tell to MQX that I, it should prepare relevant pins accordingly? Is
MQX_FILE_PTR I2C_FILE=NULL;
I2C_FILE = fopen ("i2c1:", NULL);
enough?
There is an _i2c_init structure; How can I use it to define the I2C parameters, with FILE_PTR? could you please give me an example?
Best regards.
Mehmet Ali Ipim