EFR32 Mighty Gecko 1 Software Documentation  efr32mg1-doc-5.1.2
segmentlcd.h File Reference

Detailed Description

EFM32 Segment LCD Display driver, header file.

Version
5.1.1

License

Copyright 2015 Silicon Labs, Inc. http://www.silabs.com

This file is licensed under the Silabs License Agreement. See the file "Silabs_License_Agreement.txt" for details. Before using this software for any purpose, you must agree to the terms of that agreement.

Definition in file segmentlcd.h.

#include "segmentlcdconfig.h"

Go to the source code of this file.

Macros

#define SEGMENT_LCD_BLOCK_MODE_BLANK   0
 
#define SEGMENT_LCD_BLOCK_MODE_FILL   1
 
#define SEGMENT_LCD_BLOCK_MODE_OUTLINE   2
 
#define SEGMENT_LCD_BLOCK_MODE_OUTLINE_FILL   3
 
#define SEGMENT_LCD_NUM_BLOCK_COLUMNS   7
 

Enumerations

enum  SegmentLCD_BlockMode_TypeDef {
  segmentLCDBlockModeBlank = SEGMENT_LCD_BLOCK_MODE_BLANK,
  segmentLCDBlockModeFill = SEGMENT_LCD_BLOCK_MODE_FILL,
  segmentLCDBlockModeOutline = SEGMENT_LCD_BLOCK_MODE_OUTLINE,
  segmentLCDBlockModeOutlineFill = SEGMENT_LCD_BLOCK_MODE_OUTLINE_FILL
}
 

Functions

void SegmentLCD_AllOff (void)
 Disable all segments.
 
void SegmentLCD_AllOn (void)
 Enable all segments.
 
void SegmentLCD_AlphaNumberOff (void)
 Turn all segments on alpha characters in display off.
 
void SegmentLCD_ARing (int anum, int on)
 Light up or shut off Ring of Indicators. More...
 
void SegmentLCD_Battery (int batteryLevel)
 Light up or shut off Battery Indicator. More...
 
void SegmentLCD_Block (SegmentLCD_BlockMode_TypeDef topMode[SEGMENT_LCD_NUM_BLOCK_COLUMNS], SegmentLCD_BlockMode_TypeDef botMode[SEGMENT_LCD_NUM_BLOCK_COLUMNS])
 
void SegmentLCD_Disable (void)
 Disables LCD controller.
 
void SegmentLCD_EnergyMode (int em, int on)
 Light up or shut off Energy Mode indicator. More...
 
void SegmentLCD_Init (bool useBoost)
 Segment LCD Initialization routine for EFM32 STK display. More...
 
void SegmentLCD_LowerHex (uint32_t num)
 Write a hexadecimal number on lower alphanumeric part of Segment LCD display. More...
 
void SegmentLCD_LowerNumber (int num)
 Write number on lower alphanumeric part of Segment LCD display. More...
 
void SegmentLCD_Number (int value)
 Write number on numeric part on Segment LCD display. More...
 
void SegmentLCD_NumberOff (void)
 Turn all segments on numeric digits in display off.
 
void SegmentLCD_Symbol (lcdSymbol s, int on)
 Light up or shut off various symbols on Segment LCD. More...
 
void SegmentLCD_UnsignedHex (uint16_t value)
 Write hexadecimal number on numeric part on Segment LCD display. More...
 
void SegmentLCD_Write (const char *string)
 Write text on LCD display. More...