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

Go to the source code of this file.

Defines

#define BATTERY   101
#define BEEP   104
#define BUMPER_FL   97
#define BUMPER_FR   98
#define BUMPER_RL   99
#define BUMPER_RR   100
#define ESTOP   106
#define ESTOP_BTN   105
#define GPIO_SET   103
#define READ_ANALOG   102

Functions

bool getSerial (void)
void lockSerial (bool lock)
void portClose (void)
int portDataAvail (void)
void portFlush (void)
int portGetchar (void)
int portOpen (char *device, int baud)
void portPutchar (int data)
void sendCmd (char cmd, char data1, char data2)

Define Documentation

#define BATTERY   101

Definition at line 9 of file serial.h.

#define BEEP   104

Definition at line 12 of file serial.h.

#define BUMPER_FL   97

Definition at line 5 of file serial.h.

#define BUMPER_FR   98

Definition at line 6 of file serial.h.

#define BUMPER_RL   99

Definition at line 7 of file serial.h.

#define BUMPER_RR   100

Definition at line 8 of file serial.h.

#define ESTOP   106

Definition at line 14 of file serial.h.

#define ESTOP_BTN   105

Definition at line 13 of file serial.h.

#define GPIO_SET   103

Definition at line 11 of file serial.h.

#define READ_ANALOG   102

Definition at line 10 of file serial.h.


Function Documentation

bool getSerial ( void  )

Definition at line 148 of file serial.c.

void lockSerial ( bool  lock)

Definition at line 143 of file serial.c.

void portClose ( void  )

Definition at line 94 of file serial.c.

int portDataAvail ( void  )

Definition at line 100 of file serial.c.

void portFlush ( void  )

Definition at line 89 of file serial.c.

int portGetchar ( void  )

Definition at line 110 of file serial.c.

int portOpen ( char *  device,
int  baud 
)

Definition at line 21 of file serial.c.

void portPutchar ( int  data)

Definition at line 126 of file serial.c.

void sendCmd ( char  cmd,
char  data1,
char  data2 
)

Definition at line 132 of file serial.c.



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