Functions

uar.c File Reference

#include <uart.h>
Include dependency graph for uar.c:

Functions

void uart_send_char (char val)
 Send one char to uart.
char uart_get_char (void)
 Read one char from uart.
void init_uart (void)
 Initialize UART - platform dependent.
void send_rs_str (char data[])
 Send string to serial output in ASCII code.
void send_rs_int (int val)
 Send int value to serial output in ASCII code.

Function Documentation

void init_uart ( void   ) 

Initialize UART - platform dependent.

Here is the caller graph for this function:

void send_rs_int ( int  val  ) 

Send int value to serial output in ASCII code.

Removes unused zeros.

Parameters:
val value to print

Here is the caller graph for this function:

void send_rs_str ( char  data[]  ) 

Send string to serial output in ASCII code.

Parameters:
data[] string to print

Here is the caller graph for this function:

char uart_get_char ( void   ) 

Read one char from uart.

Here is the caller graph for this function:

void uart_send_char ( char  val  ) 

Send one char to uart.

Here is the caller graph for this function: