Classes | Defines | Functions
geniePi.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  genieReplyStruct

Defines

#define GENIE_ACK   0x06
#define GENIE_NAK   0x15
#define GENIE_OBJ_4DBUTTON   30
#define GENIE_OBJ_ANGULAR_METER   7
#define GENIE_OBJ_ANIBUTTON   31
#define GENIE_OBJ_COLORPICKER   32
#define GENIE_OBJ_COOL_GAUGE   8
#define GENIE_OBJ_CUSTOM_DIGITS   9
#define GENIE_OBJ_DIPSW   0
#define GENIE_OBJ_FORM   10
#define GENIE_OBJ_GAUGE   11
#define GENIE_OBJ_IMAGE   12
#define GENIE_OBJ_KEYBOARD   13
#define GENIE_OBJ_KNOB   1
#define GENIE_OBJ_LED   14
#define GENIE_OBJ_LED_DIGITS   15
#define GENIE_OBJ_METER   16
#define GENIE_OBJ_PININPUT   29
#define GENIE_OBJ_PINOUTPUT   28
#define GENIE_OBJ_ROCKERSW   2
#define GENIE_OBJ_ROTARYSW   3
#define GENIE_OBJ_SCOPE   25
#define GENIE_OBJ_SLIDER   4
#define GENIE_OBJ_SOUND   22
#define GENIE_OBJ_SPECTRUM   24
#define GENIE_OBJ_STATIC_TEXT   21
#define GENIE_OBJ_STRINGS   17
#define GENIE_OBJ_TANK   26
#define GENIE_OBJ_THERMOMETER   18
#define GENIE_OBJ_TIMER   23
#define GENIE_OBJ_TRACKBAR   5
#define GENIE_OBJ_USER_LED   19
#define GENIE_OBJ_USERBUTTON   33
#define GENIE_OBJ_USERIMAGES   27
#define GENIE_OBJ_VIDEO   20
#define GENIE_OBJ_WINBUTTON   6
#define GENIE_READ_OBJ   0
#define GENIE_REPORT_EVENT   7
#define GENIE_REPORT_OBJ   5
#define GENIE_WRITE_CONTRAST   4
#define GENIE_WRITE_OBJ   1
#define GENIE_WRITE_STR   2
#define GENIE_WRITE_STRU   3
#define PIN_AN   5
#define PIN_ANVG   6
#define PIN_INP   0
#define PIN_INP_HI   1
#define PIN_INP_LO   2
#define PIN_OUT   3
#define PIN_OUT_OD   4

Functions

void genieClose (void)
void genieGetReply (struct genieReplyStruct *reply)
int genieReadObj (int object, int index)
int genieReplyAvail (void)
int genieSetPin (int mode, int pin)
int genieSetup (char *device, int baud)
int genieWriteContrast (int value)
int genieWriteObj (int object, int index, unsigned int data)
int genieWriteStr (int index, char *string)

Define Documentation

#define GENIE_ACK   0x06

Definition at line 33 of file geniePi.h.

#define GENIE_NAK   0x15

Definition at line 34 of file geniePi.h.

#define GENIE_OBJ_4DBUTTON   30

Definition at line 81 of file geniePi.h.

#define GENIE_OBJ_ANGULAR_METER   7

Definition at line 56 of file geniePi.h.

#define GENIE_OBJ_ANIBUTTON   31

Definition at line 82 of file geniePi.h.

#define GENIE_OBJ_COLORPICKER   32

Definition at line 83 of file geniePi.h.

#define GENIE_OBJ_COOL_GAUGE   8

Definition at line 57 of file geniePi.h.

#define GENIE_OBJ_CUSTOM_DIGITS   9

Definition at line 58 of file geniePi.h.

#define GENIE_OBJ_DIPSW   0

Definition at line 49 of file geniePi.h.

#define GENIE_OBJ_FORM   10

Definition at line 59 of file geniePi.h.

#define GENIE_OBJ_GAUGE   11

Definition at line 60 of file geniePi.h.

#define GENIE_OBJ_IMAGE   12

Definition at line 61 of file geniePi.h.

#define GENIE_OBJ_KEYBOARD   13

Definition at line 62 of file geniePi.h.

#define GENIE_OBJ_KNOB   1

Definition at line 50 of file geniePi.h.

#define GENIE_OBJ_LED   14

Definition at line 63 of file geniePi.h.

#define GENIE_OBJ_LED_DIGITS   15

Definition at line 64 of file geniePi.h.

#define GENIE_OBJ_METER   16

Definition at line 65 of file geniePi.h.

#define GENIE_OBJ_PININPUT   29

Definition at line 80 of file geniePi.h.

#define GENIE_OBJ_PINOUTPUT   28

Definition at line 79 of file geniePi.h.

#define GENIE_OBJ_ROCKERSW   2

Definition at line 51 of file geniePi.h.

#define GENIE_OBJ_ROTARYSW   3

Definition at line 52 of file geniePi.h.

#define GENIE_OBJ_SCOPE   25

Definition at line 76 of file geniePi.h.

#define GENIE_OBJ_SLIDER   4

Definition at line 53 of file geniePi.h.

#define GENIE_OBJ_SOUND   22

Definition at line 71 of file geniePi.h.

#define GENIE_OBJ_SPECTRUM   24

Definition at line 75 of file geniePi.h.

#define GENIE_OBJ_STATIC_TEXT   21

Definition at line 70 of file geniePi.h.

#define GENIE_OBJ_STRINGS   17

Definition at line 66 of file geniePi.h.

#define GENIE_OBJ_TANK   26

Definition at line 77 of file geniePi.h.

#define GENIE_OBJ_THERMOMETER   18

Definition at line 67 of file geniePi.h.

#define GENIE_OBJ_TIMER   23

Definition at line 72 of file geniePi.h.

#define GENIE_OBJ_TRACKBAR   5

Definition at line 54 of file geniePi.h.

#define GENIE_OBJ_USER_LED   19

Definition at line 68 of file geniePi.h.

#define GENIE_OBJ_USERBUTTON   33

Definition at line 84 of file geniePi.h.

#define GENIE_OBJ_USERIMAGES   27

Definition at line 78 of file geniePi.h.

#define GENIE_OBJ_VIDEO   20

Definition at line 69 of file geniePi.h.

#define GENIE_OBJ_WINBUTTON   6

Definition at line 55 of file geniePi.h.

#define GENIE_READ_OBJ   0

Definition at line 36 of file geniePi.h.

#define GENIE_REPORT_EVENT   7

Definition at line 42 of file geniePi.h.

#define GENIE_REPORT_OBJ   5

Definition at line 41 of file geniePi.h.

#define GENIE_WRITE_CONTRAST   4

Definition at line 40 of file geniePi.h.

#define GENIE_WRITE_OBJ   1

Definition at line 37 of file geniePi.h.

#define GENIE_WRITE_STR   2

Definition at line 38 of file geniePi.h.

#define GENIE_WRITE_STRU   3

Definition at line 39 of file geniePi.h.

#define PIN_AN   5

Definition at line 92 of file geniePi.h.

#define PIN_ANVG   6

Definition at line 93 of file geniePi.h.

#define PIN_INP   0

Definition at line 87 of file geniePi.h.

#define PIN_INP_HI   1

Definition at line 88 of file geniePi.h.

#define PIN_INP_LO   2

Definition at line 89 of file geniePi.h.

#define PIN_OUT   3

Definition at line 90 of file geniePi.h.

#define PIN_OUT_OD   4

Definition at line 91 of file geniePi.h.


Function Documentation

void genieClose ( void  )

Definition at line 171 of file geniePi.c.

void genieGetReply ( struct genieReplyStruct reply)

Definition at line 367 of file geniePi.c.

int genieReadObj ( int  object,
int  index 
)

Definition at line 423 of file geniePi.c.

int genieReplyAvail ( void  )

Definition at line 354 of file geniePi.c.

int genieSetPin ( int  mode,
int  pin 
)

Definition at line 634 of file geniePi.c.

int genieSetup ( char *  device,
int  baud 
)

Definition at line 655 of file geniePi.c.

int genieWriteContrast ( int  value)

Definition at line 504 of file geniePi.c.

int genieWriteObj ( int  object,
int  index,
unsigned int  data 
)

Definition at line 467 of file geniePi.c.

int genieWriteStr ( int  index,
char *  string 
)

Definition at line 584 of file geniePi.c.



mrp2_display
Author(s): Bolkar Altuntas
autogenerated on Thu Jun 6 2019 21:43:35