
Page 76
Epson Research and Development
Vancouver Design Center
S1D13706
Programming Notes and Examples
X31B-G-003-03
Issue Date: 01/02/23
int seSetClock(CLOCKSELECT ClockSelect, FREQINDEX FreqIndex)
Description:
Call seSetClock() to set the clock rate of the programmable clock.
Parameters:
ClockSelect
The ICD2061A programmable clock chip supports two output clock
signals. ClockSelect chooses which of the two output clocks to adjust.
Valid ClockSelect values for CLKI or CLKI2 (defined in HAL.H).
FreqIndex
FreqIndex is an enumerated constant and determines what the output
frequency should be.
Valid values for FreqIndex are:
FREQ_6000
6.000 MHz
FREQ_10000
10.000 MHz
FREQ_14318
14.318 MHz
FREQ_17734
17.734 MHz
FREQ_20000
20.000 MHz
FREQ_24000
24.000 MHz
FREQ_25000
25.000 MHz
FREQ_25175
25.175 MHz
FREQ_28318
28.318 MHz
FREQ_30000
30.000 MHz
FREQ_31500
31.500 MHz
FREQ_32000
32.000 MHz
FREQ_33000
33.000 MHz
FREQ_33333
33.333 MHz
FREQ_34000
34.000 MHz
FREQ_35000
35.000 MHz
FREQ_36000
36.000 MHz
FREQ_40000
40.000 MHz
FREQ_49500
49.500 MHz
FREQ_50000
50.000 MHz
FREQ_56250
56.250 MHz
FREQ_65000
65.000 MHz
FREQ_80000
80.000 MHz
FREQ_100000 100.000 MHz
Return Value:
ERR_OK
The function completed with no problems.
ERR_FAILED
seSetClock failed because of an invalid ClockSelect or an invalid
frequency index.
10.2.3 Surface Support
The S1D13706 HAL library depends heavily on the concept of surfaces. Through surfaces
the HAL tracks memory requirements of the main window and sub-window.
Surfaces allow the HAL to permit or fail function calls which change the geometry of the
S1D13706 display memory. Most HAL functions either allocate surface memory or manip-
ulate a surface that has been allocated.