Epson S1D13506 Technical Manual page 350

Color lcd/crt/tv controller
Table of Contents

Advertisement

Page 116
int seSetClock(CLOCKSELECT ClockSelect, FREQINDEX FreqIndex)
Description:
Parameters:
Return Value:
S1D13506
X25B-G-003-04
Call seSetClock() to set the clock rate of the programmable clock.
ClockSelect
The ICD2061A programmable clock chip supports two output clock
signals. ClockSelect chooses which of the two output clocks to adjust.
Valid ClockSelect values are defined by the HAL contents CLKI or
CLKI2
FreqIndex
FreqIndex is an enumerated constant and determines what the output
frequency should be.
Valid values for FreqIndex are:
FREQ_6000
FREQ_10000
FREQ_14318
FREQ_17734
FREQ_20000
FREQ_24000
FREQ_25000
FREQ_25175
FREQ_28318
FREQ_30000
FREQ_31500
FREQ_32000
FREQ_33000
FREQ_33333
FREQ_34000
FREQ_35000
FREQ_36000
FREQ_40000
FREQ_49500
FREQ_50000
FREQ_56250
FREQ_65000
FREQ_80000
ERR_OK
The function completed with no problems.
ERR_FAILED
seSetClock failed the cause may be an invalid ClockSelect or an
invalid frequency index
Note
If seSetClock is called with a ClockSelect of CLKI2 and FreqIndex of FREQ_17734
then the HAL will bypass the programmable clock and select the Feature Clock as the
input clock source. This is done with the assumption that the application is setting up for
TV output and the Feature Clock oscillator will provide a more stable clock for use with
TV. (The feature oscillator must be 17.734 MHz)
Epson Research and Development
6.000 MHz
10.000 MHz
14.318 MHz
17.734 MHz
20.000 MHz
24.000 MHz
25.000 MHz
25.175 MHz
28.318 MHz
30.000 MHz
31.500 MHz
32.000 MHz
33.000 MHz
33.333 MHz
34.000 MHz
35.000 MHz
36.000 MHz
40.000 MHz
49.500 MHz
50.000 MHz
56.250 MHz
65.000 MHz
80.000 MHz
Vancouver Design Center
Programming Notes and Examples
Issue Date: 02/03/21

Advertisement

Table of Contents
loading

Table of Contents