#include "h1.h"
Go to the source code of this file.
Functions | |
void | signal_1 (int) |
Function called when the program receives a SIGUSR1 signal. | |
void | rs232_clear_exit (int) |
Function called when the program receaves a SIGINT signal. Make sure the shared memory "dies" with the program. | |
int | rs232 (void) |
Program responsable for the serial port communication. | |
Variables | |
int | shm_id1 |
int | shm_id2 |
unsigned char * | SHM_config |
unsigned char * | SHM_data |
char | RS232_DEVICE [20] = "/dev/ttyUSB0" |
Programa responsável pela comunicação com o pic, através da porta serie. Comunica ainda com o programa gtk atravez de duas memorias partilhadas.
Definition in file rs232.c.
int rs232 | ( | void | ) |
void rs232_clear_exit | ( | int | xx | ) |
void signal_1 | ( | int | x | ) |