oscp.c File Reference


Detailed Description

AVR Oscilloscope Protocol.

Author:
Ricardo Castro (sirpdc@gmail.com)

Definition in file oscp.c.

#include <avr/io.h>
#include "util.h"
#include "oscp.h"

Go to the source code of this file.

Functions

unsigned char RxFrame (struct frame *rxframe)
void TxFrame (struct frame *txframe)


Function Documentation

unsigned char RxFrame struct frame rxframe  ) 
 

Definition at line 16 of file oscp.c.

References i, RxChar(), STARTFRAME, and STARTFRAME2.

Referenced by udp_app().

void TxFrame struct frame txframe  ) 
 

Definition at line 65 of file oscp.c.

References frame::checksum, frame::data, frame::function, i, frame::n, frame::sof, frame::sof2, STARTFRAME, STARTFRAME2, and TxChar().

Referenced by udp_app().


Generated on Fri Jan 6 22:23:17 2006 for EtherProgs by  doxygen 1.4.5