/*H**************************************************************************
* NAME: disp_task.h
*----------------------------------------------------------------------------
* Copyright (c) 2002 Atmel.
*----------------------------------------------------------------------------
* RELEASE: snd1c-refd-nf-3_0_0
* REVISION: 1.3.2.3
*----------------------------------------------------------------------------
* 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
/*_____ 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);
void disp_end_of_play (void);
Byte disp_get_min (void);
Byte disp_get_sec (void);
#endif /* _DISP_TASK_H_ */