This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

compiler function: wait 3ms

I have to wait 3ms to be able to initialize my lcd controller from epson. How could I calculate this time with the Realview Compiler? Is there a specific function where I could say the controller should wait for 3ms to do the next instruction?

I'm working with the LCP2214 controller.

Gerd

Parents Reply Children
  • Only the developer - you - really know what hardware you can spare for implementing a timing feature.

    Only the developer - you - know what timing resolution that is meaningful for the project.

    Only the developer - you - know if timing hardware should be used with an ISR or if it should be polled.

    Only the developer - your - know at what delay length it is meaningful to switch between busy-looping and switching over doing something else.

    Several good reasons why Keil shouldn't try to guess what is a correct implementation of a delay function.

  • but there's no specific wait function in Keil uvision for ARM controllers? (like in GCC or WinARM)

    What kind of wait function does GCC or WinARM provide?

    --
    Joost