Please read file license.txt for copyright notice.
Definition in file ascii.h.
#include "config.h"
#include "lib_mcu/uart/uart_lib.h"
#include <stdio.h>
Include dependency graph for ascii.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Functions | |
| U8 | ascii_to_bin (U8 c) |
| This function returns the binary value of an ascii digit. | |
| U8 | bin_to_ascii (U8 c) |
| This function returns the ascii value of a quartet. | |
This function returns the binary value of an ascii digit.
| none |
Definition at line 38 of file ascii.c.
Referenced by convert_param1(), and convert_param2().
00039 { 00040 if (c>='a') return(c-('a'-0x0A)); 00041 if (c>='A') return(c-('A'-0x0A)); 00042 return(c-'0'); 00043 }
Here is the caller graph for this function:

This function returns the ascii value of a quartet.
| none |
Definition at line 53 of file ascii.c.
Referenced by print_hex16().
Here is the caller graph for this function:

1.4.7