TUKS MCU Introductory course / TUKS-COURSE-THERMOMETER

Fork of TUKS-COURSE-TIMER by TUKS MCU Introductory course

Embed: (wiki syntax)

« Back to documentation index

Private Functions

Functions

static void Convert (uint8_t *Char, Point_Typedef Point, DoublePoint_Typedef Colon)
 Convert an ascii char to the a LCD digit.
static void WriteChar (uint8_t *ch, Point_Typedef Point, DoublePoint_Typedef Colon, DigitPosition_Typedef Position)
 Write a character in the LCD frame buffer.
static void LCD_MspInit (LCD_HandleTypeDef *hlcd)
 Initialize the LCD MSP.
static void LCD_MspDeInit (LCD_HandleTypeDef *hlcd)
 DeInitialize the LCD MSP.

Function Documentation

static void Convert ( uint8_t *  Char,
Point_Typedef  Point,
DoublePoint_Typedef  Colon 
) [static]

Convert an ascii char to the a LCD digit.

Parameters:
Char,:a char to display.
Point,:a point to add in front of char This parameter can be: POINT_OFF or POINT_ON
Colon: flag indicating if a colon character has to be added in front of displayed character. This parameter can be: DOUBLEPOINT_OFF or DOUBLEPOINT_ON.
Return values:
None

Definition at line 717 of file stm32l476g_discovery_glass_lcd.c.

static void LCD_MspDeInit ( LCD_HandleTypeDef *  hlcd ) [static]

DeInitialize the LCD MSP.

Parameters:
hlcd,:LCD handle
Return values:
None

Definition at line 675 of file stm32l476g_discovery_glass_lcd.c.

static void LCD_MspInit ( LCD_HandleTypeDef *  hlcd ) [static]

Initialize the LCD MSP.

Parameters:
hlcd,:LCD handle
Return values:
None

Definition at line 608 of file stm32l476g_discovery_glass_lcd.c.

static void WriteChar ( uint8_t *  ch,
Point_Typedef  Point,
DoublePoint_Typedef  Colon,
DigitPosition_Typedef  Position 
) [static]

Write a character in the LCD frame buffer.

Parameters:
ch,:the character to display.
Point,:a point to add in front of char This parameter can be: POINT_OFF or POINT_ON
Colon,:flag indicating if a colon character has to be added in front of displayed character. This parameter can be: DOUBLEPOINT_OFF or DOUBLEPOINT_ON.
Position,:position in the LCD of the character to write [1:6]
Return values:
None

Definition at line 834 of file stm32l476g_discovery_glass_lcd.c.