TM STM32Fxxx HAL Libraries  v1.0.0
Libraries for STM32Fxxx (F0, F4 and F7 series) devices based on HAL drivers from ST from Tilen Majerle
TM_HD44780_Functions

Library Functions. More...

Functions

void TM_HD44780_Init (uint8_t cols, uint8_t rows)
 Initializes HD44780 LCD. More...
 
void TM_HD44780_DisplayOn (void)
 Turn display on. More...
 
void TM_HD44780_DisplayOff (void)
 Turn display off. More...
 
void TM_HD44780_Clear (void)
 Clears entire LCD. More...
 
void TM_HD44780_Puts (uint8_t x, uint8_t y, char *str)
 Puts string on lcd. More...
 
void TM_HD44780_BlinkOn (void)
 Enables cursor blink. More...
 
void TM_HD44780_BlinkOff (void)
 Disables cursor blink. More...
 
void TM_HD44780_CursorOn (void)
 Shows cursor. More...
 
void TM_HD44780_CursorOff (void)
 Hides cursor. More...
 
void TM_HD44780_ScrollLeft (void)
 Scrolls display to the left. More...
 
void TM_HD44780_ScrollRight (void)
 Scrolls display to the right. More...
 
void TM_HD44780_CreateChar (uint8_t location, uint8_t *data)
 Creates custom character. More...
 
void TM_HD44780_PutCustom (uint8_t x, uint8_t y, uint8_t location)
 Puts custom created character on LCD. More...
 

Detailed Description

Library Functions.

Function Documentation

void TM_HD44780_BlinkOff ( void  )

Disables cursor blink.

Parameters
None
Return values
None
void TM_HD44780_BlinkOn ( void  )

Enables cursor blink.

Parameters
None
Return values
None
void TM_HD44780_Clear ( void  )

Clears entire LCD.

Parameters
None
Return values
None
void TM_HD44780_CreateChar ( uint8_t  location,
uint8_t *  data 
)

Creates custom character.

Parameters
locationLocation where to save character on LCD. LCD supports up to 8 custom characters, so locations are 0 - 7
*dataPointer to 8-bytes of data for one character
Return values
None
void TM_HD44780_CursorOff ( void  )

Hides cursor.

Parameters
None
Return values
None
void TM_HD44780_CursorOn ( void  )

Shows cursor.

Parameters
None
Return values
None
void TM_HD44780_DisplayOff ( void  )

Turn display off.

Parameters
None
Return values
None
void TM_HD44780_DisplayOn ( void  )

Turn display on.

Parameters
None
Return values
None
void TM_HD44780_Init ( uint8_t  cols,
uint8_t  rows 
)

Initializes HD44780 LCD.

cols: Width of lcd

Parameters
rowsHeight of lcd
Return values
None
void TM_HD44780_PutCustom ( uint8_t  x,
uint8_t  y,
uint8_t  location 
)

Puts custom created character on LCD.

Parameters
xX location where character will be shown
yY location where character will be shown
locationLocation on LCD where character is stored, 0 - 7
Return values
None
void TM_HD44780_Puts ( uint8_t  x,
uint8_t  y,
char *  str 
)

Puts string on lcd.

Parameters
xX location where string will start
y;Y location where string will start
*strpointer to string to display
Return values
None
void TM_HD44780_ScrollLeft ( void  )

Scrolls display to the left.

Parameters
None
Return values
None
void TM_HD44780_ScrollRight ( void  )

Scrolls display to the right.

Parameters
None
Return values
None