5. Sample Application Specifications
S5U1C17602T1100 Software Manual
EPSON
13
5.3.2
UC11: Start the system
--- Basic information ---
ID UC11
Title
Start the system
Actors
Operator, CT, SVD, REMC, SWT, LCD, ADC, RFC
Overview
Start the system and initialize peripheral devices.
Pre-conditions None
Post-conditions
Any of the following:
•
Calls “UC12: Select function”
•
Calls “UC61: Inspect switches”
--- Basic flow ---
1
The operator resets the C17602 CPU board.
2
The program starts, initializing the peripheral devices (CT, PORT, LCD, SVD, REMC, ADC, RFC). Certain peripheral devices
will begin operating.
*
1
*
2
3
The system confirms that SW2 is not depressed.
4
The system indicates on the LCD panel that the program has started and that peripheral devices have been initialized.
5
The operator presses SW1 as instructed on the LCD panel.
6
The system calls “UC12: Select function.” (To UC12)
--- Alternate flow ---
If the system detects that SW4 is depressed
3a
1
The system calls “UC61: Inspect switches.” (To UC61)
--- Remarks ---
*
1
MISC, PSC, CLG, and LCD settings are initialized, although they are not involved as actors.
*
2
The peripheral device initialization and settings are as follows.
MISC
Flash controller read access cycles: 1 cycle
PSC
Prescaler start
CLG
Clock division: No division
Clock generator start
CT
CT interrupt level: 3
1 Hz interrupt: Permitted, 2 Hz interrupt: Prohibited, 8 Hz interrupt: Permitted, 32 Hz interrupt: Prohibited
CT start
LCD
LCD clock setting
Drive duty setting
LCD normal display start (Epson log displayed)
PORT
Port input/output setting
P02 (SW1), P15 (SW2), P36, P37, P03 (SW3)
Port interrupt setting
SVD
SVD stop
ADC
A/D conversion stop
RFC
R/F conversion stop