/* LCD Light up or shut off Energy Mode indicator.  */
void LCD_EnergyMode(LCD_TypeDef *lcd, int em, int on)
/* LCD Light up or shut off Energy Mode indicator.  */
void LCD_EnergyMode(LCD_TypeDef *lcd, int em, int on)
{
  uint32_t com, bitvalue;
  com      = EFMDisplay.EMode.com[em];
  bitvalue = 1 << EFMDisplay.EMode.bit[em];
  if (on)
  {
    LCD_enableSegment(lcd, com, bitvalue);
  }
  else
  {
    LCD_disableSegment(lcd, com, bitvalue);
  }
}