Appendix
· 44 ·
EC3-1820V2NA
5.3 LVDS Backlight Control Programming Guide
LVDS backlight control is realized by ICH. Users can operate PWM register to
realize control of LVDS screen backlight luminance.
After operation of LVDS screen bottom layer port functions has been realized, users
can call the provided API to realize their own requirements.
The following is the introduction of port functions. Please refer to the CD for detailed
program.
(1). BPI_STATUS Set_SIO_LVDS_BL( UINT8 PWM_Value);
Function description: to set backlight control parameter value
Parameter: PWM_Value—— backlight parameter. Ranging within 1-255
Returned value:
BPI_STATUS_INVALID_PARAMETER --- Function execution failed
BPI_STATUS_SUCCESSFUL --- Function execution successful
(2). BPI_STATUS Get_SIO_LVDS_BL( UINT8 *PWM_Value);
Function description: to acquire backlight control parameter value
Parameter: *PWM_Value—— return to backlight parameter value, ranging
within 1-255
Returned value:
BPI_STATUS_INVALID_PARAMETER --- Function execution failed
BPI_STATUS_SUCCESSFUL --- Function execution successful
The above is the port function for LVDS backlight control operation. The backlight
control register BIOS has been initialized by default, so users only need to call
Set_SIO_LVDS_BL, to carry out setup of backlight parameter operation; call
Get_SIO_LVDS_BL, to read backlight parameter; the backlight parameter setup
range is 0-255, 0 means black screen, and 255 means highest brightness.
During the operation, users can call our library file DLL or static file LIB,
corresponding Macro and commands, which include our header files.