STM32L476G-Discovery BSP User Manual: Private Variables

STM32L476G-Discovery BSP

STM32L476G-Discovery BSP User Manual

Variables

__IO uint8_t bLCDGlass_KeyPressed = 0
LCD_HandleTypeDef LCDHandle
const uint16_t CapLetterMap [26]
const uint16_t NumberMap [10]
uint32_t Digit [4]
uint8_t LCDBar = BATTERYLEVEL_FULL

Variable Documentation

__IO uint8_t bLCDGlass_KeyPressed = 0

Definition at line 77 of file stm32l476g_discovery_glass_lcd.c.

Referenced by BSP_LCD_GLASS_ScrollSentence().

const uint16_t CapLetterMap[26]
Initial value:
    {
        
        0xFE00, 0x6714, 0x1D00, 0x4714, 0x9D00, 0x9C00, 0x3F00, 0xFA00, 0x0014,
        
        0x5300, 0x9841, 0x1900, 0x5A48, 0x5A09, 0x5F00, 0xFC00, 0x5F01, 0xFC01,
        
        0xAF00, 0x0414, 0x5b00, 0x18C0, 0x5A81, 0x00C9, 0x0058, 0x05C0
    }

Definition at line 128 of file stm32l476g_discovery_glass_lcd.c.

Referenced by Convert().

uint32_t Digit[4]

Definition at line 145 of file stm32l476g_discovery_glass_lcd.c.

Referenced by Convert(), and WriteChar().

Definition at line 148 of file stm32l476g_discovery_glass_lcd.c.

Referenced by BSP_LCD_GLASS_BarLevelConfig().

LCD_HandleTypeDef LCDHandle
================================================================================
                              GLASS LCD MAPPING
================================================================================
LCD allows to display informations on six 14-segment digits and 4 bars:

  1       2       3       4       5       6
-----   -----   -----   -----   -----   -----   
|\|/| o |\|/| o |\|/| o |\|/| o |\|/|   |\|/|   BAR3
-- --   -- --   -- --   -- --   -- --   -- --   BAR2
|/|\| o |/|\| o |/|\| o |/|\| o |/|\|   |/|\|   BAR1
----- * ----- * ----- * ----- * -----   -----   BAR0

LCD segment mapping:
--------------------
  -----A-----        _ 
  |\   |   /|   COL |_|
  F H  J  K B          
  |  \ | /  |        _ 
  --G-- --M--   COL |_|
  |  / | \  |          
  E Q  P  N C          
  |/   |   \|        _ 
  -----D-----   DP  |_|

 An LCD character coding is based on the following matrix:
COM           0   1   2     3
SEG(n)      { E , D , P ,   N   }
SEG(n+1)    { M , C , COL , DP  }
SEG(23-n-1) { B , A , K ,   J   }
SEG(23-n)   { G , F , Q ,   H   }
with n positive odd number.

 The character 'A' for example is:
  -------------------------------
LSB   { 1 , 0 , 0 , 0   }
      { 1 , 1 , 0 , 0   }
      { 1 , 1 , 0 , 0   }
MSB   { 1 , 1 , 0 , 0   }
      -------------------
  'A' =  F    E   0   0 hexa

  

Definition at line 125 of file stm32l476g_discovery_glass_lcd.c.

Referenced by BSP_LCD_GLASS_BarLevelConfig(), BSP_LCD_GLASS_BlinkConfig(), BSP_LCD_GLASS_Clear(), BSP_LCD_GLASS_ClearBar(), BSP_LCD_GLASS_Contrast(), BSP_LCD_GLASS_DeInit(), BSP_LCD_GLASS_DisplayBar(), BSP_LCD_GLASS_DisplayChar(), BSP_LCD_GLASS_DisplayStrDeci(), BSP_LCD_GLASS_DisplayString(), BSP_LCD_GLASS_Init(), and WriteChar().

const uint16_t NumberMap[10]
Initial value:
    {
        
        0x5F00,0x4200,0xF500,0x6700,0xEa00,0xAF00,0xBF00,0x04600,0xFF00,0xEF00
    }

Definition at line 139 of file stm32l476g_discovery_glass_lcd.c.

Referenced by Convert().

Generated on Tue Jun 23 2015 17:15:46 for STM32L476G-Discovery BSP User Manual by   doxygen 1.7.6.1