comparison src/cs/riviera/tests/rv/rv_test_exec_def.h @ 0:92470e5d0b9e

src: partial import from FC Selenite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 15 May 2020 01:28:16 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:92470e5d0b9e
1 /**
2 * @file rv_test_exec_def.h
3 *
4 * LCD and Keypad definitions.
5 *
6 * All the definitions below are used to control LCD and keypad
7 * when being in EXEC mode (tests to execute are chosen at execution
8 * time with the keypad and the LCD).
9 *
10 * @author Cedric Baudelet
11 * @author Vincent Oberle
12 */
13
14 /*
15 * History:
16 *
17 * Date Author Modification
18 * -------------------------------------------------------------------
19 * 03/13/02 Vincent Oberle Put from rv_test.h in its own file.
20 *
21 * (C) Copyright 2002 by Texas Instruments Incorporated, All Rights Reserved
22 */
23
24 #ifndef _RV_TEST_EXEC_DEF_H_
25 #define _RV_TEST_EXEC_DEF_H_
26
27
28 #define TEST_TYPE_STATE (1)
29 #define TEST_LEVEL_STATE (2)
30 #define TEST_NUMBER_STATE (3)
31 #define NB_OF_TEST_TO_PASS_STATE (4)
32 #define TEST_AUDIO_STATE (5)
33 #define TEST_AUDIO_SERVICES_STATE (6)
34
35 #define LCD_LEN (6)
36
37 /* RV TEST TEST_TYPE PARAMETER */
38 #define TEST_TYPE_LCD_LEN (6)
39 static char TEST_TYPE_LCD [TEST_TYPE_LCD_LEN][15] = {" TEST TYPE ",
40 " 1 - REGR ",
41 " 2 - CERTIF ",
42 " 3 - DEMO ",
43 " 4 - MISC ",
44 " 5 - UPF "};
45
46 /* RV TEST TEST_AUDIO PARAMETER */
47 #define TEST_AUDIO_LCD_LEN (3)
48 static char TEST_AUDIO_LCD [TEST_TYPE_LCD_LEN][15] = {" TEST AUDIO ",
49 " 1-LIST ",
50 " 2-ONESHOT "};
51 /* RV TEST TEST_AUDIO_SERVICES PARAMETER */
52 #define TEST_AUDIO_SERVICES_LCD_LEN (5)
53 static char TEST_AUDIO_SERVICES_LCD [TEST_TYPE_LCD_LEN][15] = {" AUDIO SERVICE",
54 " 1 - KEYBEEP",
55 " 2 - TONES ",
56 " 3 - MELODY "};
57
58 /* RV TEST TEST_MPM_SERVICES PARAMETER */
59 #define TEST_MPM_LCD_LEN (/*8*/6)
60 static char TEST_MPM_LCD [TEST_MPM_LCD_LEN][15] = { " TEST MPM ",
61 " ",
62 "1- TEST LOOP ",
63 "2- WAIT STATES",
64 "3- PREDEFINED ",
65 " COMMANDS "}; /*,
66 "4- OTHER ",
67 " COMMAND "};*/
68
69
70
71 #endif /* _RV_TEST_EXEC_DEF_H_ */