EFM32 Happy Gecko Software Documentation  efm32hg-doc-5.1.2
CHAR_TypeDef Struct Reference

Detailed Description

Defines each text symbol's segment in terms of COM and BIT numbers, in a way that we can enumerate each bit for each text segment in the following bit pattern:

*  -------0------
*
* |   \7  |8  /9 |
* |5   \  |  /   |1
*
*  --6---  ---10--
*
* |    /  |  \11 |
* |4  /13 |12 \  |2
*
*  -------3------
* 

E.g.: First text character bit pattern #3 (above) is Segment 1D for Display Location COM 3, BIT 0

Definition at line 49 of file segmentlcd.c.

Data Fields

uint8_t bit [14]
 
uint8_t com [14]
 

Field Documentation

uint8_t CHAR_TypeDef::bit[14]

LCD bit number

Definition at line 52 of file segmentlcd.c.

Referenced by SegmentLCD_Write().

uint8_t CHAR_TypeDef::com[14]

LCD COM line (for multiplexing)

Definition at line 51 of file segmentlcd.c.

Referenced by SegmentLCD_Write().


The documentation for this struct was generated from the following file: