Robobo
|
#include "chip.h"
Functions | |
void | TimeTick_Increment (void) |
Handler for Sytem Tick interrupt. | |
uint32_t | TimeTick_Configure (uint32_t dwNew_MCK) |
Configures the SAM3 SysTick & reset tickCount. Systick interrupt handler will generates 1ms interrupt and increase a tickCount. More... | |
uint32_t | GetTickCount (void) |
Get current Tick Count, in ms. | |
void | Wait (volatile uint32_t dwMs) |
Sync Wait for several ms. | |
void | Sleep (volatile uint32_t dwMs) |
Sync Sleep for several ms. | |
Implement simple system tick usage.
uint32_t TimeTick_Configure | ( | uint32_t | dwNew_MCK | ) |
Configures the SAM3 SysTick & reset tickCount. Systick interrupt handler will generates 1ms interrupt and increase a tickCount.
dwNew_MCK | Current master clock. |