LCD HD44780 driver library v1.0.3
Data Structures | Macros | Enumerations
lcd_hd44780_def_char.h File Reference

Header file for defining custom characters for the HD44780 LCD. More...

#include <stdint.h>
#include "lcd_hd44780_config.h"
Include dependency graph for lcd_hd44780_def_char.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  lcd_char_mapping_struct_t
 Structure for mapping ASCII characters to LCD memory equivalents. More...
 
struct  char_bank_struct_t
 
struct  lcd_bank_load_struct_t
 

Macros

#define LCD_CGRAM_BYTES_PER_CHAR   8
 
#define DEF_CHAR_ADR_MASK   7
 
#define CHAR_MAP_END   '\0'
 

Enumerations

enum  LCD_CGRAM_BANK_1_e {
  bank_1_Pol_e , bank_1_Pol_o , bank_1_Pol_s , bank_1_Pol_l ,
  bank_1_Pol_c , bank_1_Pol_a , bank_1_Pol_n , bank_1_Zn_wody
}
 Labels representing specific user defined chars collected in LCD_CGRAM_BANK_1_e. Label values are equal to addresses in LCD_CGRAM_BANK_1_e and the address of LCD_CGRAM where all chars from LCD_CGRAM_BANK_1_e will be written when using lcd_load_char_bank() or lcd_def_char() for defining single characters in LCD_CGRAM. More...
 

Detailed Description

Header file for defining custom characters for the HD44780 LCD.

Author
LCD custom char code generator app written by niwciu (niwci.nosp@m.u@gm.nosp@m.ail.c.nosp@m.om)
Version
<add version no>
Date
2025-02-26

Enumeration Type Documentation

◆ LCD_CGRAM_BANK_1_e

Labels representing specific user defined chars collected in LCD_CGRAM_BANK_1_e. Label values are equal to addresses in LCD_CGRAM_BANK_1_e and the address of LCD_CGRAM where all chars from LCD_CGRAM_BANK_1_e will be written when using lcd_load_char_bank() or lcd_def_char() for defining single characters in LCD_CGRAM.

Enumerator
bank_1_Pol_e 

Label with value 0 for custom character 'Pol_e' at address 0x00 in bank_1 and LCD_CGRAM.

bank_1_Pol_o 

Label with value 1 for custom character 'Pol_o' at address 0x01 in bank_1 and LCD_CGRAM.

bank_1_Pol_s 

Label with value 2 for custom character 'Pol_s' at address 0x02 in bank_1 and LCD_CGRAM.

bank_1_Pol_l 

Label with value 3 for custom character 'Pol_l' at address 0x03 in bank_1 and LCD_CGRAM.

bank_1_Pol_c 

Label with value 4 for custom character 'Pol_c' at address 0x04 in bank_1 and LCD_CGRAM.

bank_1_Pol_a 

Label with value 5 for custom character 'Pol_a' at address 0x05 in bank_1 and LCD_CGRAM.

bank_1_Pol_n 

Label with value 6 for custom character 'Pol_n' at address 0x06 in bank_1 and LCD_CGRAM.

bank_1_Zn_wody 

Label with value 7 for custom character 'Zn_wody' at address 0x07 in bank_1 and LCD_CGRAM.