display_info.c File Reference

Functions to make easier printing differents kind of informations on serial. More...

#include <Messages.h>
#include <serial.h>

Include dependency graph for display_info.c:

Go to the source code of this file.

Functions

void display_hexa (unsigned char MyChar)
 Display an hexadecimal byte on the terminal.
void display_info (u_info *frame)
 display frame data on RS232
void display_number (long Number)
 Display a decimal number on the terminal.


Detailed Description

Functions to make easier printing differents kind of informations on serial.

Author:
ANGER Thomas
Date:
2008 / 12 / 8 : translate and clean from affiche_info.c

Definition in file display_info.c.


Function Documentation

void display_hexa ( unsigned char  MyChar  ) 

Display an hexadecimal byte on the terminal.

Parameters:
[in] MyChar : Character to be printed on serial

Definition at line 116 of file display_info.c.

References serial_putchar().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void display_info ( u_info frame  ) 

display frame data on RS232

Parameters:
[in] * frame : frame you want to print data on serial

Definition at line 87 of file display_info.c.

References ACK, u_info::Ack, REVEIL, serial_puts(), and info_ACK::type.

Here is the call graph for this function:

void display_number ( long  Number  ) 

Display a decimal number on the terminal.

Parameters:
[in] Number : Number to be printed on serial

Definition at line 31 of file display_info.c.

References serial_putchar().

Referenced by init(), main(), PT_THREAD(), and serveur_reprog().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Wed Jun 3 12:05:45 2009 for PowWow v1.0 by  doxygen 1.5.6