LMS 2012
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Timer

opTIMER_WAIT (TIME, TIMER)

  • Setup timer to wait TIME mS
  • Dispatch status unchanged

    Parameters
    (DATA32)TIME - Time to wait [mS]
    (DATA32)TIMER - Variable used for timing

    opTIMER_READY (TIMER)

  • Wait for timer ready (wait for timeout)
  • Dispatch status can change to BUSYBREAK

    Parameters
    (DATA32)TIMER - Variable used for timing

    opTIMER_READ (TIME)

  • Read free running timer [mS]
  • Dispatch status unchanged

    Returns
    (DATA32) TIME - Value

    opTIMER_READ_US (TIME)

  • Read free running timer [uS]
  • Dispatch status unchanged

    Returns
    (DATA32) TIME - Value