SegmentLcdKit Drivers
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.
|
|
void | SegmentLCD_Battery (int batteryLevel) |
Light up or shut off Battery Indicator.
|
|
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.
|
|
void | SegmentLCD_Init (bool useBoost) |
Segment LCD Initialization routine for EFM32 STK display.
|
|
void | SegmentLCD_LowerHex (uint32_t num) |
Write a hexadecimal number on lower alphanumeric part of Segment LCD display.
|
|
void | SegmentLCD_LowerNumber (int num) |
Write number on lower alphanumeric part of Segment LCD display.
|
|
void | SegmentLCD_Number (int value) |
Write number on numeric part on Segment LCD display.
|
|
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.
|
|
void | SegmentLCD_UnsignedHex (uint32_t value) |
Write hexadecimal number on numeric part on Segment LCD display.
|
|
void | SegmentLCD_Write (const char *string) |
Write text on LCD display.
|
|
Enumeration Type Documentation
Function Documentation
void SegmentLCD_ARing | ( | int |
anum,
|
int |
on
|
||
) |
Light up or shut off Ring of Indicators.
- Parameters
-
anum
"Segment number" on "Ring", range 0 - 7 on
Zero is off, non-zero is on
Definition at line
1361
of file
segmentlcd.c
.
References MCU_DISPLAY::ARing , ARING_TypeDef::bit , ARING_TypeDef::com , and LCD_SegmentSet() .
void SegmentLCD_Battery | ( | int |
batteryLevel
|
) |
Light up or shut off Battery Indicator.
- Parameters
-
batteryLevel
Battery Level, 0 to 4 (0 turns all off)
Definition at line
1379
of file
segmentlcd.c
.
References MCU_DISPLAY::Battery , BATTERY_TypeDef::bit , BATTERY_TypeDef::com , and LCD_SegmentSet() .
void SegmentLCD_EnergyMode | ( | int |
em,
|
int |
on
|
||
) |
Light up or shut off Energy Mode indicator.
- Parameters
-
em
Energy Mode numer 0 to 4 on
Zero is off, non-zero is on
Definition at line
1406
of file
segmentlcd.c
.
References EM_TypeDef::bit , EM_TypeDef::com , MCU_DISPLAY::EMode , and LCD_SegmentSet() .
void SegmentLCD_Init | ( | bool |
useBoost
|
) |
Segment LCD Initialization routine for EFM32 STK display.
- Parameters
-
useBoost
Set to use voltage boost
Definition at line
448
of file
segmentlcd.c
.
References CMU , CMU_ClockDivSet() , CMU_ClockEnable() , CMU_ClockSelectSet() , CMU_LCDClkFDIVSet() , CMU_LCDCTRL_VBOOSTEN , cmuClock_LCD , cmuClock_LCDpre , cmuClock_LFA , cmuSelect_LFRCO , LCD_Init() , LCD_IntDisable() , LCD_SyncBusyDelay() , LCD_VBoostSet() , LCD_VLCDSelect() , lcdVLCDSelVExtBoost , and SegmentLCD_AllOff() .
void SegmentLCD_LowerHex | ( | uint32_t |
num
|
) |
Write a hexadecimal number on lower alphanumeric part of Segment LCD display.
- Parameters
-
num
Hexadecimal number value to put on display, in range 0 to 0x0FFFFFFF
Definition at line
502
of file
segmentlcd.c
.
References SegmentLCD_Symbol() , and SegmentLCD_Write() .
void SegmentLCD_LowerNumber | ( | int |
num
|
) |
Write number on lower alphanumeric part of Segment LCD display.
- Parameters
-
num
Numeric value to put on display, in range -9999999 to +9999999
Definition at line
535
of file
segmentlcd.c
.
References SegmentLCD_Symbol() , and SegmentLCD_Write() .
void SegmentLCD_Number | ( | int |
value
|
) |
Write number on numeric part on Segment LCD display.
- Parameters
-
value
Numeric value to put on display, in range -999 to +9999
Definition at line
580
of file
segmentlcd.c
.
References NUMBER_TypeDef::bit , NUMBER_TypeDef::com , LCD_FreezeEnable() , LCD_SegmentSet() , LCD_SyncBusyDelay() , MCU_DISPLAY::Number , Segment_Numbers , and SegmentLCD_NumberOff() .
void SegmentLCD_Symbol | ( | lcdSymbol |
s,
|
int |
on
|
||
) |
Light up or shut off various symbols on Segment LCD.
- Parameters
-
s
Which symbol to turn on or off on
Zero is off, non-zero is on
Definition at line
661
of file
segmentlcd.c
.
References LCD_SegmentSet() .
Referenced by SegmentLCD_LowerHex() , and SegmentLCD_LowerNumber() .
void SegmentLCD_UnsignedHex | ( | uint32_t |
value
|
) |
Write hexadecimal number on numeric part on Segment LCD display.
- Parameters
-
value
Numeric value to put on display
Definition at line
1015
of file
segmentlcd.c
.
References NUMBER_TypeDef::bit , NUMBER_TypeDef::com , LCD_FreezeEnable() , LCD_SegmentSet() , LCD_SyncBusyDelay() , MCU_DISPLAY::Number , Segment_Numbers , and SegmentLCD_NumberOff() .
void SegmentLCD_Write | ( | const char * |
string
|
) |
Write text on LCD display.
- Parameters
-
string
Text string to show on display
Definition at line
1062
of file
segmentlcd.c
.
References CHAR_TypeDef::bit , CHAR_TypeDef::com , LCD_FreezeEnable() , LCD_SegmentSet() , LCD_SyncBusyDelay() , Segment_Alphabet , SegmentLCD_AlphaNumberOff() , and MCU_DISPLAY::Text .
Referenced by SegmentLCD_LowerHex() , and SegmentLCD_LowerNumber() .