/* The digit counter callback function, as described at the top of this file.  */
static void prvDigitCounterTimerCallback(xTimerHandle xTimer)
/* The digit counter callback function, as described at the top of this file.  */
static void prvDigitCounterTimerCallback(xTimerHandle xTimer)
{
static const unsigned short usNumbersPatterns[] = { 0x8004, 0xF204, 0x4804, 0x6004, 0x3204, 0x2404, 0x0404, 0xF104, 0x0004, 0x2004 };
static long lCounter = 0L;
const long lNumberOfDigits = 10L;
unsigned short usCheckLEDState;
	usCheckLEDState = ( FM3_GPIO->PDOR3 & mainCHECK_LED );
	FM3_GPIO->PDOR3 = usNumbersPatterns[ lCounter ] | usCheckLEDState;	lCounter++;
	if( lCounter >= lNumberOfDigits )
	{
		lCounter = 0L;
	}
}