Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Display - AAT31XX Controller

Low-level driver for the AAT31XX LCD backlight controller.

This driver provides access to the main features of the AAT31XX controller.

Macros

#define DELAY_DISABLE   (0x20000u)
 
#define DELAY_ENABLE   (0x20000u)
 
#define DELAY_PULSE   (0x18u)
 

Functions

void aat31xx_disable_backlight (void)
 Switch off backlight. More...
 
void aat31xx_set_backlight (uint32_t ul_level)
 Set the LCD backlight level. More...
 

#define DELAY_DISABLE   (0x20000u)
#define DELAY_ENABLE   (0x20000u)

Referenced by aat31xx_set_backlight().

#define DELAY_PULSE   (0x18u)

Referenced by aat31xx_set_backlight().

void aat31xx_disable_backlight ( void  )
void aat31xx_set_backlight ( uint32_t  ul_level)

Set the LCD backlight level.

Parameters
ul_levelbacklight level.
Note
pin BOARD_AAT31XX_SET_GPIO must be configured before calling aat31xx_set_backlight.

References AAT31XX_MAX_BACKLIGHT_LEVEL, AAT31XX_MIN_BACKLIGHT_LEVEL, DELAY_ENABLE, DELAY_PULSE, IOPORT_PIN_LEVEL_HIGH, IOPORT_PIN_LEVEL_LOW, and ioport_set_pin_level().

Referenced by _display_init(), display_init(), gfx_ili9325_init(), gfx_ili93xx_init(), gfx_task(), main(), run_test_init(), and widget_settings_backlight_setup_command_handler().