Last change
on this file was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100644
|
File size:
895 bytes
|
Rev | Line | |
---|
[c5c522c] | 1 | Object methods and properties and some vars |
---|
| 2 | |
---|
| 3 | Tcomms |
---|
| 4 | Properties |
---|
| 5 | int InboundFD (for select to watch if>0) |
---|
| 6 | IMODE imode {none,polled,fd} (method for reading data) |
---|
| 7 | Tconfig config |
---|
| 8 | Methods |
---|
| 9 | ParseConfig(TConfig config) |
---|
| 10 | Init |
---|
| 11 | poll |
---|
| 12 | writechar |
---|
| 13 | writestr |
---|
| 14 | |
---|
| 15 | Tserial |
---|
| 16 | Private Vars |
---|
| 17 | char port[] |
---|
| 18 | int speed |
---|
| 19 | Properties |
---|
| 20 | |
---|
| 21 | |
---|
| 22 | |
---|
| 23 | Tdriver |
---|
| 24 | Properties |
---|
| 25 | Tconfig config |
---|
| 26 | int backlight_state |
---|
| 27 | int disp_width |
---|
| 28 | int disp_height |
---|
| 29 | Methods |
---|
| 30 | Init |
---|
| 31 | ClearScr |
---|
| 32 | NewCustomChar(struct CustChar defination) |
---|
| 33 | PutCustChar(zoff,yoff,char) |
---|
| 34 | PutChar(xoff,yoff,char) |
---|
| 35 | PlaceString(xoff,yoff,string) |
---|
| 36 | DrawHorizBar(xoff,yoff,chwidth,percentage) |
---|
| 37 | DrawVertBar(xoff,yoff,chheight,percentage) |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | Tdisplay |
---|
| 42 | Properties |
---|
| 43 | Tdriver driver |
---|
| 44 | Tconfig config |
---|
| 45 | int RefreshInterval (for clock would be 500 for every half second) |
---|
| 46 | Methods |
---|
| 47 | HardInit (called once on prog start) |
---|
| 48 | Init (called on every new cycle) |
---|
| 49 | |
---|
Note: See
TracBrowser
for help on using the repository browser.