34extern const uint16_t *Zone_TextDisplay[];
54 int data, length, index;
59 length = strlen(
string);
63 for (index = 0; index < LCD_ZoneInfo[u32Zone].
Sub_Zone_Num; index++)
75 bitfield = *(Zone_TextDisplay[u32Zone] + data);
89 if (bitfield & (1 << i))
113 long long num, i, com, bit, div, len, tmp;
126 if( (tmp/10) || (tmp%10) )
140 for (index = (LCD_ZoneInfo[u32Zone].Sub_Zone_Num-1); index >= 0; index--)
142 num = (
value / div) % 10;
145 bitpattern = *(Zone_TextDisplay[u32Zone] + num);
149 bit = *(Zone[u32Zone]
152 com = *(Zone[u32Zone]
158 if (bitpattern & (1 << i))
192 if(u32Index > LCD_ZoneInfo[u32Zone].Sub_Zone_Num)
return;
196 bitfield = *(Zone_TextDisplay[u32Zone] + data);
200 bit = *(Zone[u32Zone]
204 com = *(Zone[u32Zone]
210 if (bitfield & (1 << i))
234 bit = *(Zone[u32Zone] + u32Index*2 + 1);
236 com = *(Zone[u32Zone] + u32Index*2 + 0);
NANO100 LCDLIB header file.
Nano100 series peripheral access layer header file. This file contains all the peripheral register's ...
void LCD_SetPixel(uint32_t u32Com, uint32_t u32Seg, uint32_t u32OnFlag)
Enables a segment on the LCD display.
uint32_t Zone_Digit_SegNum
void LCDLIB_PrintNumber(uint32_t u32Zone, long long value)
Display number on LCD.
void LCDLIB_Printf(uint32_t u32Zone, char *string)
Display text on LCD.
void LCDLIB_SetSymbol(uint32_t u32Zone, uint32_t u32Index, uint32_t u32OnOff)
Display symbol on LCD.
void LCDLIB_PutChar(uint32_t u32Zone, uint32_t u32Index, uint8_t u8Ch)
Display character on LCD.