#include <rsm.h>
#include <rdio.h>
#include <cubeos.h>
#include <stdio.h>
#include <ttyio.h>
Include dependency graph for rsm.c:
Go to the source code of this file.
Defines | |
#define | RSM_OFF 0 |
#define | RSM_IDLE 1 |
#define | RSM_INFRAME1 2 |
#define | RSM_INFRAME2 3 |
#define | RSM_CHECKSUM1 4 |
#define | RSM_CHECKSUM2 5 |
#define | RSM_SOH 0xA5 |
#define | RSM_PREHEADER 6 |
Functions | |
int | RSM_init_rx () |
prepares RSM for reception. More... | |
int | RSM_init_tx () |
initializes RSM for transmission. More... | |
int | RSM_getframe (unsigned char *buffer) |
copy one RSM frame into "user space". More... | |
int | RSM_send_frame (unsigned char *buffer) |
send one RSM frame. More... | |
void | _RSM_doutchar (unsigned char c) |
void | _RSM_douthex (unsigned char c) |
void | RSM_process (unsigned char c) |
void | RSM_tty_rdioput_block (char byte) |
blocking output on radio TTY. More... | |
unsigned char * | RSM_rxframe (unsigned char *frame) |
receive one RSM frame. More... | |
int | RSM_deinitrx () |
disables reception. More... | |
int | RSM_deinittx () |
disables transmission. More... | |
unsigned char * | RSM_encode (unsigned char c) |
do media encoding for one byte. More... | |
Variables | |
char | _RSM_buffer0 [RSM_FRAMELEN] |
char | _RSM_buffer1 [RSM_FRAMELEN] |
unsigned char | _RSM_state = 0 |
short | _RSM_count |
char | RSM_new |
char * | _RSM_writebuf |
char * | RSM_getbuf |
unsigned char | _RSM_checksum |
unsigned char | _RSM_charcount |
int | RSM_good |
int | _RSM_bad |
int | _RSM_ugly |
int | _RSM_bytes |
int | _RSM_uglycount |
Definition in file rsm.c.
|
|
|
|
|
Definition at line 46 of file rsm.c. Referenced by RSM_deinitrx, and RSM_init_rx. |
|
|
|
|
|
|
|
Definition at line 55 of file rsm.c. Referenced by RSM_send_frame. |
|
Definition at line 53 of file rsm.c. Referenced by RSM_send_frame. |
|
|
|
|
|
Referenced by RSM_init_rx. |
|
Definition at line 77 of file rsm.c. Referenced by RSM_init_rx. |
|
Definition at line 62 of file rsm.c. Referenced by RSM_init_rx. |
|
Definition at line 63 of file rsm.c. Referenced by RSM_init_rx. |
|
Definition at line 79 of file rsm.c. Referenced by RSM_init_rx. |
|
Definition at line 73 of file rsm.c. Referenced by RSM_init_rx. |
|
|
|
|
|
Definition at line 66 of file rsm.c. Referenced by RSM_deinitrx, and RSM_init_rx. |
|
Definition at line 78 of file rsm.c. Referenced by RSM_init_rx. |
|
Definition at line 80 of file rsm.c. Referenced by RSM_init_rx. |
|
Definition at line 70 of file rsm.c. Referenced by RSM_init_rx. |
|
Definition at line 71 of file rsm.c. Referenced by RSM_getframe, RSM_init_rx, and RSM_rxframe. |
|
Definition at line 76 of file rsm.c. Referenced by RSM_init_rx. |
|
Definition at line 69 of file rsm.c. Referenced by RSM_getframe, RSM_init_rx, and RSM_rxframe. |