/**********************************************************************/
/*                                                                    */
/*  File name : appli.H                                               */
/*  Date      : 06/07/98 17:33:57                                     */
/*  ----------------------------------------------------------------  */
/*  ISaGRAF project name : sorting                                    */
/*                                                                    */
/**********************************************************************/

/* Global variables of the various programs */

/* Programs */

#define _SCC_RSEL	0X0001
#define _SCC_WSEL	0X0002
#define _SCC_SRED	0X0003
#define _SCC_SYEL	0X0004
#define _SCC_SBLUE	0X0005
#define _SCC_BRED	0X0006
#define _SCC_BBLUE	0X0007
#define _SCC_BYEL	0X0008

/* Steps */


/* Transitions */


/* Booleans */

#define _SCC_SMALL_BLUE	0X0001
#define _SCC_SMALL_YELLOW5	0X0002
#define _SCC_SMALL_YELLOW4	0X0003
#define _SCC_SMALL_YELLOW3	0X0004
#define _SCC_SMALL_YELLOW2	0X0005
#define _SCC_SMALL_YELLOW1	0X0006
#define _SCC_SMALL_YELLOW	0X0007
#define _SCC_SMALL_RED5	0X0008
#define _SCC_SMALL_RED4	0X0009
#define _SCC_SMALL_RED3	0X000A
#define _SCC_SMALL_RED2	0X000B
#define _SCC_SMALL_RED1	0X000C
#define _SCC_SMALL_RED	0X000D
#define _SCC_BIG_YELLOW4	0X000E
#define _SCC_BIG_YELLOW3	0X000F
#define _SCC_BIG_YELLOW2	0X0010
#define _SCC_BIG_YELLOW1	0X0011
#define _SCC_BIG_YELLOW	0X0012
#define _SCC_BIG_RED5	0X0013
#define _SCC_BIG_RED4	0X0014
#define _SCC_BIG_RED3	0X0015
#define _SCC_BIG_RED2	0X0016
#define _SCC_BIG_RED1	0X0017
#define _SCC_BIG_RED	0X0018
#define _SCC_SMALL_BLUE5	0X0019
#define _SCC_SMALL_BLUE4	0X001A
#define _SCC_SMALL_BLUE3	0X001B
#define _SCC_SMALL_BLUE2	0X001C
#define _SCC_SMALL_BLUE1	0X001D
#define _SCC_BIG_BLUE5	0X001E
#define _SCC_BIG_BLUE4	0X001F
#define _SCC_BIG_BLUE3	0X0020
#define _SCC_BIG_BLUE2	0X0021
#define _SCC_BIG_BLUE1	0X0022
#define _SCC_BIG_BLUE	0X0023
#define _SCC_BIG_YELLOW5	0X0024
#define _SCC_CBOO00000001	0X0025
#define _SCC_CBOO00000000	0X0026
#define _SCC_TMPB1	0X0047
#define _SCC_FCPWSEL	0X0050
#define _SCC_FCPRSEL	0X0051
#define _SCC_FCPSRED	0X0060
#define _SCC_FCPSYEL	0X0061
#define _SCC_FCPSBLUE	0X0074
#define _SCC_FCPBRED	0X0075
#define _SCC_FCPBBLUE	0X0076
#define _SCC_FCPBYEL	0X0077

/* Analogs */

#define _SCC_NB_BIG_RED	0X0001
#define _SCC_NB_SMALL_BLUE	0X0002
#define _SCC_NB_SMALL_YELLOW	0X0003
#define _SCC_NB_SMALL_RED	0X0004
#define _SCC_COLOR	0X0005
#define _SCC_SIZE	0X0006
#define _SCC_NB_BIG_BLUE	0X0007
#define _SCC_NB_BIG_YELLOW	0X0008
#define _SCC_CANA00000002	0X0009
#define _SCC_CANA00000001	0X000A
#define _SCC_CANA00000003	0X000B
#define _SCC_CANA00000000	0X000C
#define _SCC_FBL_RET	0X000D
#define _SCC_TMPI2	0X000E
#define _SCC_TMPI1	0X000F

/* Timers */

#define _SCC_DELAY	0X0001
#define _SCC_CTMR000007D0	0X0002
#define _SCC_CTMR00000BB8	0X0003
#define _SCC_CTMR00000FA0	0X0004
#define _SCC_CTMR00001388	0X0005
#define _SCC_CTMR000003E8	0X0006
#define _SCC_CTMR00000000	0X0007
