C:/Documents and Settings/mschre/Desktop/96330_usb_template_96338us-v11/96330_usb_function_template-v10/96330_usb_template_96338us-v10/src/uart/uart.c File Reference

#include "base_type.h"
#include "mb96338us.h"
#include "uart.h"
#include "integer.h"
Include dependency graph for uart.c:

Go to the source code of this file.

Functions

void InitUART0 (void)
void InitUART1 (void)
void putch (char_t ch)
void puts (char_t *buf)
void puthex (uint32_t n, uint8_t digits)
void putbytehex (BYTE n)
void putdec (uint32_t x)
char_t getch (void)
uint32_t ASCIItobin (uint8_t k)
void receive_line (void)
int16_t receive_line_echo (uint16_t *cnt)
int16_t scan_line (char_t *str)
uint32_t Inputhex (uint8_t digits)
char_t getkey (char_t LKey, char_t HKey)
char_t upcase (char_t k)

Variables

char_t line_buffer [255]
char_t * line_buffer_ptr
uint8_t use_uart = 0
const char_t ASCII [] = "0123456789ABCDEF"

Detailed Description

History:

Definition in file uart.c.


Function Documentation

uint32_t ASCIItobin ( uint8_t  k  ) 

Definition at line 250 of file uart.c.

Here is the caller graph for this function:

char_t getch ( void   ) 

Definition at line 211 of file uart.c.

Here is the caller graph for this function:

char_t getkey ( char_t  LKey,
char_t  HKey 
)

Definition at line 382 of file uart.c.

Here is the call graph for this function:

void InitUART0 ( void   ) 

Definition at line 75 of file uart.c.

void InitUART1 ( void   ) 

Definition at line 86 of file uart.c.

Here is the caller graph for this function:

uint32_t Inputhex ( uint8_t  digits  ) 

Definition at line 352 of file uart.c.

Here is the call graph for this function:

void putbytehex ( BYTE  n  ) 

Definition at line 157 of file uart.c.

Here is the call graph for this function:

void putch ( char_t  ch  ) 

Definition at line 105 of file uart.c.

Here is the caller graph for this function:

void putdec ( uint32_t  x  ) 

Definition at line 179 of file uart.c.

Here is the call graph for this function:

void puthex ( uint32_t  n,
uint8_t  digits 
)

Definition at line 143 of file uart.c.

Here is the call graph for this function:

void puts ( char_t *  buf  ) 

Definition at line 126 of file uart.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void receive_line ( void   ) 

Definition at line 266 of file uart.c.

Here is the call graph for this function:

int16_t receive_line_echo ( uint16_t *  cnt  ) 

Definition at line 288 of file uart.c.

Here is the call graph for this function:

int16_t scan_line ( char_t *  str  ) 

Definition at line 329 of file uart.c.

char_t upcase ( char_t  k  ) 

Definition at line 410 of file uart.c.

Here is the caller graph for this function:


Variable Documentation

const char_t ASCII[] = "0123456789ABCDEF"

Definition at line 56 of file uart.c.

Definition at line 52 of file uart.c.

Definition at line 53 of file uart.c.

Definition at line 54 of file uart.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Wed Mar 31 11:15:01 2010 for UsbFunction by  doxygen 1.6.1