Epson S1D13708 Camera Accessories User Manual


 
Epson Research and Development Page 65
Vancouver Design Center
Programming Notes and Examples S1D13708
Issue Date: 01/11/20 X39A-G-003-01
ADVANCE
D
IN
F
ORMATION
Subje
ct to C
ha
nge
Boolean halInitController(UInt32 Flags)
Description: This routine performs the initialization portion of the startup sequence.
Initialization of the S1D13708 evaluation board consists of several steps:
- Program the ICD2061A clock generator
- Set the initial state of the control
- Set the LUT to its default value
- Clear video memory
All display memory and nearly every control register can or will be affected by the initial-
ization.
Any, or all, of the initialization steps may be bypassed according to values contained in the
Flags parameter. This allows for conditional run-time changes to the initialization.
Parameters: Flags contains initialization specific information. The default action of the HAL is to per-
form all initialization steps. Flags contain specific instructions for bypassing certain ini-
tialization steps. Flags can be combined with the ’|’ symbol, such as
fDONT_SET_CLOCKS | fDONT_INIT_REGS. The values for Flags are:
fDONT_SET_CLOCKS
Setting this flag causes initialization to skip programming the ICD2061A
clock generator. Normally the clock on the S5U13708B00B is programmed
to configured values during initialization.
fDONT_INIT_REGS
Bypass register initialization. Normally the init process sets the register
values to a known state. Setting this flag bypasses this step.
fDONT_INIT_LUT
Bypass look-up table initialization.
fDONT_CLEAR_MEM
The final step of the initialization process is to clear display buffer memory.
Setting this flag will bypass this step.
Return Value: TRUE (non-zero) if the initialization was successful.
FALSE (zero) if the HAL was unable to initialize the S1D13708
If additional error information is required call halGetLastError()