SegmentLcd#
Modules#
Functions#
Defines prototype for all segments in display.
Enable all segments.
Turn all segments on alpha characters in display off.
Segment LCD Initialization routine for EFM32 STK display.
Write number on numeric part on Segment LCD display.
Write temperature on Segment LCD display.
Turn all segments on numeric digits in display off.
Light up or shut off various symbols on Segment LCD.
Write hexadecimal number on numeric part on Segment LCD display.
Function Documentation#
sl_segment_lcd_all_off#
void sl_segment_lcd_all_off (void )
Defines prototype for all segments in display.
N/A |
ENUMS ************************************
Defines segment lcd block modes FUNCTIONS ***********************************
Disable all segments
278
of file hardware/driver/segment_lcd/inc/sl_segmentlcd.h
sl_segment_lcd_all_on#
void sl_segment_lcd_all_on (void )
Enable all segments.
N/A |
283
of file hardware/driver/segment_lcd/inc/sl_segmentlcd.h
sl_segment_lcd_disable#
void sl_segment_lcd_disable (void )
Turn all segments on alpha characters in display off.
N/A |
Disables LCD controller
295
of file hardware/driver/segment_lcd/inc/sl_segmentlcd.h
sl_segment_lcd_init#
void sl_segment_lcd_init (bool use_boost)
Segment LCD Initialization routine for EFM32 STK display.
[in] | use_boost | Set to use voltage boost |
302
of file hardware/driver/segment_lcd/inc/sl_segmentlcd.h
sl_segment_lcd_number#
void sl_segment_lcd_number (int value)
Write number on numeric part on Segment LCD display.
[in] | value | Numeric value to put on display, in range -999 to +9999 |
327
of file hardware/driver/segment_lcd/inc/sl_segmentlcd.h
sl_segment_lcd_temp_display#
void sl_segment_lcd_temp_display (int32_t temp_data)
Write temperature on Segment LCD display.
[in] | temp_data | value to put on display, in range -40000 to +125000 |
The following function are written to handle the cases when the sensor measures negative temperature values, three digit temperature values, and temperature values from 0-100 degrees Celsius. Keep in mind, the Si7021 part has an operating temperature range of -40 to +125 degrees Celsius. The temp_data variable stores a temperature read by the Si7021 that is multiplied by a factor of 1000. In order to display the temperature correctly in the negative and three digit cases, the temp_data variable must be divided by 10 to remove one digit from the variable. Without this, the value of temp_data passed to the SegmentLCD_Number() function may be higher than the max value the Segment LCD could display.
343
of file hardware/driver/segment_lcd/inc/sl_segmentlcd.h
sl_segment_lcd_number_off#
void sl_segment_lcd_number_off (void )
Turn all segments on numeric digits in display off.
N/A |
348
of file hardware/driver/segment_lcd/inc/sl_segmentlcd.h
sl_segment_lcd_symbol#
void sl_segment_lcd_symbol (sl_segment_lcd_symbol_t s, int on)
Light up or shut off various symbols on Segment LCD.
[in] | s | Which symbol to turn on or off |
[in] | on | Zero is off, non-zero is on |
356
of file hardware/driver/segment_lcd/inc/sl_segmentlcd.h
sl_segment_lcd_unsigned_hex#
void sl_segment_lcd_unsigned_hex (uint32_t value)
Write hexadecimal number on numeric part on Segment LCD display.
[in] | value | Numeric value to put on display |
363
of file hardware/driver/segment_lcd/inc/sl_segmentlcd.h