/*H**************************************************************************
* $RCSfile: voice_task.h,v $
*----------------------------------------------------------------------------
* Copyright (c) 2002 Atmel.
*----------------------------------------------------------------------------
* RELEASE: $Name: DEMO_FAT_1_9_9 $
* REVISION: $Revision: 1.5 $
* FILE_CVSID: $Id: voice_task.h,v 1.5 2002/09/06 12:59:12 njourdan Exp $
*----------------------------------------------------------------------------
* PURPOSE:
* This file contains the voice task definition
*****************************************************************************/
#ifndef _VOICE_TASK_H_
#define _VOICE_TASK_H_
/*_____ I N C L U D E S ____________________________________________________*/
/*_____ M A C R O S ________________________________________________________*/
/*----- Task states -----*/
#define VOICE_START ((Byte)0)
#define VOICE_INSTALL ((Byte)1)
#define VOICE_IDLE ((Byte)2)
#define VOICE_PLAY_INIT ((Byte)3)
#define VOICE_PLAY ((Byte)4)
#define VOICE_PLL ((Byte)5)
#define VOICE_PLAY_STOP ((Byte)6)
#define VOICE_PLAY_PAUSE ((Byte)7)
#define VOICE_PLAY_NEW ((Byte)8)
#define VOICE_NO_MSG ((Byte)9)
#define VOICE_REC_INIT ((Byte)10)
#define VOICE_RECORD ((Byte)11)
#define VOICE_REC_STOP ((Byte)12)
#define VOICE_REC_PAUSE ((Byte)13)
#define VOICE_ERROR ((Byte)14)
#define VOICE_DELETE ((Byte)15)
/*_____ D E F I N I T I O N ________________________________________________*/
/*_____ D E C L A R A T I O N ______________________________________________*/
void voice_task_init (void);
void voice_task (void);
#endif /* _VOICE_TASK_H_ */