STM32L073Z_EVAL BSP User Manual
|
Functions | |
void | BSP_LCD_GLASS_Init (void) |
Configures the LCD GLASS relative GPIO port IOs and LCD peripheral. | |
void | BSP_LCD_GLASS_Contrast (uint32_t Contrast) |
LCD contrast setting. | |
void | BSP_LCD_GLASS_WriteChar (uint8_t *ch, uint8_t Point, uint8_t Column, uint8_t Position) |
This function writes a char in the LCD frame buffer. | |
void | BSP_LCD_GLASS_BarLevelConfig (uint8_t BarLevel) |
Setting bar on LCD, writes bar value in LCD frame buffer. | |
void | BSP_LCD_GLASS_ClearChar (uint8_t position) |
This function Clear a char in the LCD RAM. | |
void | BSP_LCD_GLASS_DisplayChar (uint8_t *Ch, Point_Typedef Point, DoublePoint_Typedef DoublePoint, uint8_t Position) |
This function writes a char in the LCD RAM. | |
void | BSP_LCD_GLASS_DisplayString (uint8_t *ptr) |
This function writes a char in the LCD RAM. | |
void | BSP_LCD_GLASS_ClearTextZone (void) |
This function Clears the LCD Glass Text Zone. | |
void | BSP_LCD_GLASS_DisplayStrDeci (uint16_t *ptr) |
This function writes a char in the LCD RAM. | |
void | BSP_LCD_GLASS_Clear (void) |
This function Clear the whole LCD RAM. | |
void | BSP_LCD_GLASS_ScrollSentence (uint8_t *ptr, uint16_t nScroll, uint16_t ScrollSpeed) |
Display a string in scrolling mode. | |
void | BSP_LCD_GLASS_DisplayLogo (FunctionalState NewState) |
Configure ST Logo display. | |
void | BSP_LCD_GLASS_ArrowConfig (ArrowDirection_TypeDef ArrowDirection) |
Configure the LCD ArrowDirection. | |
void | BSP_LCD_GLASS_TemperatureConfig (TemperatureLevel_TypeDef Temperature) |
Configure the LCD Temperature level display . | |
void | BSP_LCD_GLASS_ValueUnitConfig (ValueUnit_TypeDef ValueUnit) |
Configure the LCD Value Unit. | |
void | BSP_LCD_GLASS_SignCmd (Sign_TypeDef Sign, FunctionalState NewState) |
Configure the LCD sign. | |
void | BSP_LCD_GLASS_WriteMatrixPixel (PixelRow_TypeDef PixelRow, PixelColumn_TypeDef PixelColumn) |
Set Matrix Pixel on. | |
void | BSP_LCD_GLASS_ClearMatrixPixel (PixelRow_TypeDef PixelRow, PixelColumn_TypeDef PixelColumn) |
Set Matrix Pixel off. |
Function Documentation
void BSP_LCD_GLASS_ArrowConfig | ( | ArrowDirection_TypeDef | ArrowDirection | ) |
Configure the LCD ArrowDirection.
- Parameters:
-
ArrowDirection,: Specify the ArrowDirection to set.
- Return values:
-
None
Definition at line 716 of file stm32l073z_eval_glass_lcd.c.
References ARROWDIRECTION_DOWN, ARROWDIRECTION_LEFT, ARROWDIRECTION_OFF, ARROWDIRECTION_RIGHT, ARROWDIRECTION_UP, and LCDHandle.
void BSP_LCD_GLASS_BarLevelConfig | ( | uint8_t | BarLevel | ) |
Setting bar on LCD, writes bar value in LCD frame buffer.
- Parameters:
-
BarLevel,: specifies the LCD GLASS Batery Level. This parameter can be one of the following values: - BATTERYLEVEL_OFF: LCD GLASS Batery Empty
- BATTERYLEVEL_1_4: LCD GLASS Batery 1/4 Full
- BATTERYLEVEL_1_2: LCD GLASS Batery 1/2 Full
- BATTERYLEVEL_3_4: LCD GLASS Batery 3/4 Full
- BATTERYLEVEL_FULL: LCD GLASS Batery Full
- Return values:
-
None
Definition at line 383 of file stm32l073z_eval_glass_lcd.c.
References BATTERYLEVEL_1_2, BATTERYLEVEL_1_4, BATTERYLEVEL_3_4, BATTERYLEVEL_FULL, BATTERYLEVEL_OFF, LCDBar, and LCDHandle.
Referenced by BSP_LCD_GLASS_Init(), and BSP_LCD_GLASS_WriteChar().
void BSP_LCD_GLASS_Clear | ( | void | ) |
This function Clear the whole LCD RAM.
- Return values:
-
None
Definition at line 634 of file stm32l073z_eval_glass_lcd.c.
References LCDHandle.
Referenced by BSP_LCD_GLASS_Init().
void BSP_LCD_GLASS_ClearChar | ( | uint8_t | position | ) |
This function Clear a char in the LCD RAM.
- Parameters:
-
position,: Position in the LCD of the caracter to write. This parameter can be any value in range [1:7].
- Return values:
-
None
Definition at line 449 of file stm32l073z_eval_glass_lcd.c.
References LCDHandle.
void BSP_LCD_GLASS_ClearMatrixPixel | ( | PixelRow_TypeDef | PixelRow, |
PixelColumn_TypeDef | PixelColumn | ||
) |
Set Matrix Pixel off.
- Parameters:
-
PixelRow,: Specify Matrix Row. PixelColumn,: Specify Matrix Column.
- Return values:
-
None
Definition at line 2008 of file stm32l073z_eval_glass_lcd.c.
References LCDHandle, PIXELCOLUMN_1, PIXELCOLUMN_10, PIXELCOLUMN_11, PIXELCOLUMN_12, PIXELCOLUMN_13, PIXELCOLUMN_14, PIXELCOLUMN_15, PIXELCOLUMN_16, PIXELCOLUMN_17, PIXELCOLUMN_18, PIXELCOLUMN_19, PIXELCOLUMN_2, PIXELCOLUMN_3, PIXELCOLUMN_4, PIXELCOLUMN_5, PIXELCOLUMN_6, PIXELCOLUMN_7, PIXELCOLUMN_8, PIXELCOLUMN_9, PIXELROW_1, PIXELROW_10, PIXELROW_2, PIXELROW_3, PIXELROW_4, PIXELROW_5, PIXELROW_6, PIXELROW_7, PIXELROW_8, and PIXELROW_9.
void BSP_LCD_GLASS_ClearTextZone | ( | void | ) |
This function Clears the LCD Glass Text Zone.
- Return values:
-
None
< Request LCD RAM update
Definition at line 580 of file stm32l073z_eval_glass_lcd.c.
References LCDHandle.
Referenced by BSP_LCD_GLASS_ScrollSentence().
void BSP_LCD_GLASS_Contrast | ( | uint32_t | Contrast | ) |
LCD contrast setting.
- Parameters:
-
Contrast,: specifies the LCD Contrast. This parameter can be one of the following values: - LCD_CONTRASTLEVEL_0: Maximum Voltage = 2.60V
- LCD_CONTRASTLEVEL_1: Maximum Voltage = 2.73V
- LCD_CONTRASTLEVEL_2: Maximum Voltage = 2.86V
- LCD_CONTRASTLEVEL_3: Maximum Voltage = 2.99V
- LCD_CONTRASTLEVEL_4: Maximum Voltage = 3.12V
- LCD_CONTRASTLEVEL_5: Maximum Voltage = 3.25V
- LCD_CONTRASTLEVEL_6: Maximum Voltage = 3.38V
- LCD_CONTRASTLEVEL_7: Maximum Voltage = 3.51V
- Return values:
-
None
Definition at line 225 of file stm32l073z_eval_glass_lcd.c.
References LCDHandle.
void BSP_LCD_GLASS_DisplayChar | ( | uint8_t * | Ch, |
Point_Typedef | Point, | ||
DoublePoint_Typedef | DoublePoint, | ||
uint8_t | Position | ||
) |
This function writes a char in the LCD RAM.
- Parameters:
-
Ch,: The character to display. Point,: A point to add in front of char. This parameter can be one of the following values: - POINT_OFF: No point to add in front of char.
- POINT_ON: Add a point in front of char.
DoublePoint,: Flag indicating if a apostrophe has to be add in front of displayed character. This parameter can be one of the following values: - DOUBLEPOINT_OFF: No colon to add in back of char.
- DOUBLEPOINT_ON: Add an colon in back of char.
Position,: Position in the LCD of the caracter to write. This parameter can be any value in range [1:7].
- Return values:
-
None
< LCD Write Char
Definition at line 546 of file stm32l073z_eval_glass_lcd.c.
References BSP_LCD_GLASS_WriteChar(), and LCDHandle.
void BSP_LCD_GLASS_DisplayLogo | ( | FunctionalState | NewState | ) |
Configure ST Logo display.
- Parameters:
-
NewState,: enable or disable the logo display .
- Return values:
-
None
Definition at line 694 of file stm32l073z_eval_glass_lcd.c.
References LCDHandle.
void BSP_LCD_GLASS_DisplayStrDeci | ( | uint16_t * | ptr | ) |
This function writes a char in the LCD RAM.
- Parameters:
-
ptr,: Pointer to string to display on the LCD Glass.
- Return values:
-
None
- Note:
- Required preconditions: Char is ASCCI value "Ored" with decimal point or Column flag
Definition at line 599 of file stm32l073z_eval_glass_lcd.c.
References BSP_LCD_GLASS_WriteChar(), DOT, DOUBLE_DOT, DOUBLEPOINT_OFF, DOUBLEPOINT_ON, POINT_OFF, and POINT_ON.
void BSP_LCD_GLASS_DisplayString | ( | uint8_t * | ptr | ) |
This function writes a char in the LCD RAM.
- Parameters:
-
ptr,: Pointer to string to display on the LCD Glass.
- Return values:
-
None
< Send the string character by character on lCD
< Display one character on LCD
< Point on the next character
< Increment the character counter
Definition at line 560 of file stm32l073z_eval_glass_lcd.c.
References BSP_LCD_GLASS_WriteChar().
Referenced by BSP_LCD_GLASS_ScrollSentence().
void BSP_LCD_GLASS_Init | ( | void | ) |
Configures the LCD GLASS relative GPIO port IOs and LCD peripheral.
- Return values:
-
None
Definition at line 185 of file stm32l073z_eval_glass_lcd.c.
References BATTERYLEVEL_OFF, BSP_LCD_GLASS_BarLevelConfig(), BSP_LCD_GLASS_Clear(), LCD_MspInit(), and LCDHandle.
void BSP_LCD_GLASS_ScrollSentence | ( | uint8_t * | ptr, |
uint16_t | nScroll, | ||
uint16_t | ScrollSpeed | ||
) |
Display a string in scrolling mode.
- Parameters:
-
ptr,: Pointer to string to display on the LCD Glass. nScroll,: Specifies how many time the message will be scrolled ScrollSpeed : Speciifes the speed of the scroll, low value gives higher speed
- Return values:
-
None
- Note:
- Required preconditions: The LCD should be cleared before to start the write operation.
Definition at line 649 of file stm32l073z_eval_glass_lcd.c.
References BSP_LCD_GLASS_ClearTextZone(), and BSP_LCD_GLASS_DisplayString().
void BSP_LCD_GLASS_SignCmd | ( | Sign_TypeDef | Sign, |
FunctionalState | NewState | ||
) |
Configure the LCD sign.
- Parameters:
-
Sign,: indicate the sign to set. NewState,: enable or disable the Digit.
- Return values:
-
None
Definition at line 909 of file stm32l073z_eval_glass_lcd.c.
References LCDHandle, SIGN_NEGATIVE, and SIGN_POSITIVE.
void BSP_LCD_GLASS_TemperatureConfig | ( | TemperatureLevel_TypeDef | Temperature | ) |
Configure the LCD Temperature level display .
- Parameters:
-
Temperature,: indicate the Temperature level to set.
- Return values:
-
None
Definition at line 766 of file stm32l073z_eval_glass_lcd.c.
References LCDHandle, TEMPERATURELEVEL_1, TEMPERATURELEVEL_2, TEMPERATURELEVEL_3, TEMPERATURELEVEL_4, TEMPERATURELEVEL_5, TEMPERATURELEVEL_6, and TEMPERATURELEVEL_OFF.
void BSP_LCD_GLASS_ValueUnitConfig | ( | ValueUnit_TypeDef | ValueUnit | ) |
Configure the LCD Value Unit.
- Parameters:
-
ValueUnit,: indicate the Value Unit to set.
- Return values:
-
None
Definition at line 866 of file stm32l073z_eval_glass_lcd.c.
References LCDHandle, VALUEUNIT_MICROAMPERE, VALUEUNIT_MILLIAMPERE, VALUEUNIT_NANOAMPERE, and VALUEUNIT_OFF.
void BSP_LCD_GLASS_WriteChar | ( | uint8_t * | ch, |
uint8_t | Point, | ||
uint8_t | Column, | ||
uint8_t | Position | ||
) |
This function writes a char 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 Column,: flag indicating if a column has to be add in front of displayed character. This parameter can be: DOUBLEPOINT_OFF or DOUBLEPOINT_ON. Position,: position in the LCD of the caracter to write [1:7]
- Return values:
-
None
- Note:
- Required preconditions: The LCD should be cleared before to start the write operation.
Definition at line 243 of file stm32l073z_eval_glass_lcd.c.
References BSP_LCD_GLASS_BarLevelConfig(), Convert(), Digit, LCDBar, and LCDHandle.
Referenced by BSP_LCD_GLASS_DisplayChar(), BSP_LCD_GLASS_DisplayStrDeci(), and BSP_LCD_GLASS_DisplayString().
void BSP_LCD_GLASS_WriteMatrixPixel | ( | PixelRow_TypeDef | PixelRow, |
PixelColumn_TypeDef | PixelColumn | ||
) |
Set Matrix Pixel on.
- Parameters:
-
PixelRow,: Specify Matrix Row. PixelColumn,: Specify Matrix Column.
- Return values:
-
None
Definition at line 961 of file stm32l073z_eval_glass_lcd.c.
References LCDHandle, PIXELCOLUMN_1, PIXELCOLUMN_10, PIXELCOLUMN_11, PIXELCOLUMN_12, PIXELCOLUMN_13, PIXELCOLUMN_14, PIXELCOLUMN_15, PIXELCOLUMN_16, PIXELCOLUMN_17, PIXELCOLUMN_18, PIXELCOLUMN_19, PIXELCOLUMN_2, PIXELCOLUMN_3, PIXELCOLUMN_4, PIXELCOLUMN_5, PIXELCOLUMN_6, PIXELCOLUMN_7, PIXELCOLUMN_8, PIXELCOLUMN_9, PIXELROW_1, PIXELROW_10, PIXELROW_2, PIXELROW_3, PIXELROW_4, PIXELROW_5, PIXELROW_6, PIXELROW_7, PIXELROW_8, and PIXELROW_9.
Generated on Mon Aug 28 2017 14:54:25 for STM32L073Z_EVAL BSP User Manual by 1.7.6.1