mikroSDK Reference Manual
LCD Controller

Generic liquid crystal display controller specific APIs. More...

Functions list

void hd44780_lcd_init (uint32_t lcd_handle)
 Initializes LCD.
 

Function Documentation

◆ hd44780_lcd_init()

void hd44780_lcd_init ( uint32_t lcd_handle)

Initializes HD44780 LCD controller with default values.

Parameters
[in]lcd_handleLCD handle address. See lcd_handle_t structure definition for detailed explanation.
Returns
Nothing.

Example

// LCD handle.
// LCD config structure.
lcd_config_t lcd_cfg;
// Fill structure with default values.
// Set default pins.
LCD_MAP_PINS(lcd_cfg);
// Initialize handle and pins.
lcd_configure(&lcd, &lcd_cfg);
// Initialize LCD if used from LCD source.
// hd44780_lcd_init(&lcd); // If used directly through this API.
void hd44780_lcd_init(uint32_t lcd_handle)
Initializes LCD.
void lcd_init(lcd_handle_t lcd_handle, init_sequence_ptr init_sequence)
Initializes LCD.
lcd_err_t lcd_configure(lcd_handle_t *lcd_handle, lcd_config_t *config)
Configures LCD handle with passed configuration structure.
#define LCD_MAP_PINS(lcd_cfg)
Mapping default LCD control and data pins.
Definition lcd.h:89
void lcd_configure_default(lcd_config_t *config)
Configure LCD configuration structure.
Definition lcd.h:161
Definition lcd.h:206
Note
Can be used with controllers similar to HD44780.
Dclared as weak so user can link their own API.