NXP LPC LWIP port documentation  v0.80
LWIP port for LPC devices
LPC177x_8x LWIP timer base

Functions

void SysTick_Enable (uint32_t period)
 Enable the system tick timer with a reference period.
void SysTick_Disable (void)
 Disable the system tick timer.
void SysTick_Handler (void)
 SysTick IRQ handler and timebase management.
uint32_t SysTick_GetMS (void)
 Returns the number of mS since the timer was started.
void msDelay (uint32_t ms)
 Delay the specified number of milliSeconds.

Function Documentation

void msDelay ( uint32_t  ms)

Delay the specified number of milliSeconds.

This function will delay the passed number of milliSeconds.

Parameters:
[in]msNumber of milliSeconds to delay
void SysTick_Disable ( void  )

Disable the system tick timer.

This function disables the Systick timer.

void SysTick_Enable ( uint32_t  period)

Enable the system tick timer with a reference period.

This function sets the Systick at a specific rate.

Parameters:
[in]periodRate in mS for the system tick
uint32_t SysTick_GetMS ( void  )

Returns the number of mS since the timer was started.

This function will return the number of milliSeconds since the System tick timer was started. It overflows at about 49 days.

Returns:
Number of milliSeconds since timer was started
void SysTick_Handler ( void  )

SysTick IRQ handler and timebase management.

This function keeps a timebase for the sysTick that can be used for other functions. It also calls an external function (SysTick_User) that must be defined outside this handler.