mikroSDK Reference Manual
|
Go to the source code of this file.
Data Structures | |
struct | lcd_config |
struct | lcd_handle |
Macros | |
#define | LCD_CMD_FUNCTION_SET ((uint8_t)0x20) |
LCD commands. | |
#define | LCD_CMD_CLEAR ((uint8_t)0x1) |
#define | LCD_CMD_RETURN_HOME ((uint8_t)0x2) |
#define | LCD_CMD_CURSOR_OFF ((uint8_t)0xC) |
#define | LCD_CMD_UNDERLINE_ON ((uint8_t)0xE) |
#define | LCD_CMD_BLINK_CURSOR_ON ((uint8_t)0xF) |
#define | LCD_CMD_MOVE_CURSOR_LEFT ((uint8_t)0x10) |
#define | LCD_CMD_MOVE_CURSOR_RIGHT ((uint8_t)0x14) |
#define | LCD_CMD_TURN_OFF ((uint8_t)0x8) |
#define | LCD_CMD_TURN_ON ((uint8_t)0xC) |
#define | LCD_CMD_SHIFT_LEFT ((uint8_t)0x18) |
#define | LCD_CMD_SHIFT_RIGHT ((uint8_t)0x1C) |
#define | LCD_CMD_MODE_4BIT ((uint8_t)0x08) |
#define | LCD_MAP_PINS(lcd_cfg) LCD_MAP_PINS_4BIT(lcd_cfg) |
Mapping default LCD control and data pins. More... | |
#define | LCD_MAP_PINS_4BIT(lcd_cfg) |
Mapping 4-bit LCD control and data pins. More... | |
#define | LCD_MAP_PINS_8BIT(lcd_cfg) |
Mapping 8-bit LCD control and data pins. More... | |
Typedefs | |
typedef struct lcd_config | lcd_config_t |
typedef void(* | init_sequence_ptr) (uint32_t) |
Init sequence prototype. More... | |
typedef struct lcd_handle | lcd_handle_t |
Enumerations | |
enum | lcd_err_t |
enum | lcd_select_t |
enum | lcd_mode_t |
enum | lcd_row_t |
#define LCD_MAP_PINS | ( | lcd_cfg | ) | LCD_MAP_PINS_4BIT(lcd_cfg) |
#define LCD_MAP_PINS_4BIT | ( | lcd_cfg | ) |
#define LCD_MAP_PINS_8BIT | ( | lcd_cfg | ) |
typedef struct lcd_config lcd_config_t |
Main cofiguration structure.
typedef void(* init_sequence_ptr) (uint32_t) |
typedef struct lcd_handle lcd_handle_t |
Main handle for LCD operations.
enum lcd_err_t |
enum lcd_select_t |
enum lcd_mode_t |
enum lcd_row_t |