/*H**************************************************************************
* $RCSfile: disp_task.h,v $
*----------------------------------------------------------------------------
* Copyright (c) 2002 Atmel.
*----------------------------------------------------------------------------
* RELEASE: $Name: DEMO_FAT_1_9_9 $
* REVISION: $Revision: 1.3 $
* FILE_CVSID: $Id: disp_task.h,v 1.3 2002/06/06 15:20:49 ffosse Exp $
*----------------------------------------------------------------------------
* PURPOSE:
* This file contains the display task definition
*****************************************************************************/
#ifndef _DISP_TASK_H_
#define _DISP_TASK_H_
/*_____ I N C L U D E S ____________________________________________________*/
/*_____ M A C R O S ________________________________________________________*/
#define DISP_TICK_500 500 / SCHEDULER_TICK
#define DISP_TICK_SEC 1000 / SCHEDULER_TICK
#define DISP_SEC_MIN 59
/*----- Clock task states -----*/
#define DISP_IDLE 0
#define DISP_INIT 1
#define DISP_TICK0 2
#define DISP_TICK1 3
#define DISP_SEC 4
#define DISP_MIN 5
#define DISP_MS_BUSY 6
/*_____ D E F I N I T I O N ________________________________________________*/
/*_____ D E C L A R A T I O N ______________________________________________*/
void disp_task_init (void);
void disp_task (void);
void disp_name_start (void);
void disp_name_stop (void);
void disp_clock_reset (void);
void disp_clock_start (void);
void disp_clock_stop (void);
Byte disp_get_min (void);
Byte disp_get_sec (void);
#endif /* _DISP_TASK_H_ */