27. lpc17xx_systick Module

System tick timer client library functions. Find implementation details in LPC17xx CMSIS-Compliant Standard Peripheral Firmware Driver Library documentation.

robovero.lpc17xx_systick.SYSTICK_ClearCounterFlag()

Clear Counter flag.

robovero.lpc17xx_systick.SYSTICK_Cmd(NewState)

Enable/disable System Tick counter.

Args:

  • NewState: System Tick counter status, should be:
    • ENABLE
    • DISABLE
robovero.lpc17xx_systick.SYSTICK_ExternalInit(freq, time)

Initialize System Tick using external clock source.

Args:

  • freq: external clock frequency(Hz)
  • time: time interval(ms)
robovero.lpc17xx_systick.SYSTICK_GetCurrentValue()

Get current value of System Tick counter.

Return:

  • current value of System Tick counter
robovero.lpc17xx_systick.SYSTICK_IntCmd(NewState)

Enable/disable System Tick interrupt.

Args:

  • NewState: System Tick interrupt status, should be:
    • ENABLE
    • DISABLE
robovero.lpc17xx_systick.SYSTICK_InternalInit(time)

Initialize System Tick using internal CPU clock source.

Args:

  • time: time interval(ms)