20#define ONE_MILISECOND 1u
25#define INTERNAL_OSC_FREQUENCY 3
28#define POWER_CONTROL 6
29#define FOLLOWER_CONTROL 7
uint8_t HEL_LCD_Init(LCD_HandleTypeDef *hlcd)
Function to initialize the LCD.
Definition hel_lcd.c:20
void HEL_LCD_Backlight(LCD_HandleTypeDef *hlcd, uint8_t state)
Function to control the LCD backlight.
Definition hel_lcd.c:277
struct _LCD_HandleTypeDef LCD_HandleTypeDef
Struct for LCD HANDLER.
uint8_t HEL_LCD_String(LCD_HandleTypeDef *hlcd, char *str)
Function to send a string of characters to the LCD.
Definition hel_lcd.c:214
void HEL_LCD_MspInit(LCD_HandleTypeDef *hlcd)
Sub-initialization interface for the pins used by the LCD.
Definition hel_lcd.c:153
uint8_t HEL_LCD_Command(LCD_HandleTypeDef *hlcd, uint8_t cmd)
Function to send a command to the LCD.
Definition hel_lcd.c:169
uint8_t HEL_LCD_Contrast(LCD_HandleTypeDef *hlcd, uint8_t contrast)
Function to control the contrast level of the LCD.
Definition hel_lcd.c:307
uint8_t HEL_LCD_Data(LCD_HandleTypeDef *hlcd, uint8_t data)
Function to send a character to be displayed on the LCD using the SPI.
Definition hel_lcd.c:192
uint8_t HEL_LCD_SetCursor(LCD_HandleTypeDef *hlcd, uint8_t row, uint8_t col)
Function to locate the LCD cursor.
Definition hel_lcd.c:254
Struct for LCD HANDLER.
Definition hel_lcd.h:36
uint32_t CsPin
Definition hel_lcd.h:44
GPIO_TypeDef * RsPort
Definition hel_lcd.h:41
GPIO_TypeDef * CsPort
Definition hel_lcd.h:43
uint32_t BklPin
Definition hel_lcd.h:46
SPI_HandleTypeDef * SpiHandler
Definition hel_lcd.h:38
uint32_t RstPin
Definition hel_lcd.h:40
uint32_t RsPin
Definition hel_lcd.h:42
GPIO_TypeDef * RstPort
Definition hel_lcd.h:39
GPIO_TypeDef * BklPort
Definition hel_lcd.h:45