capi/uart.h File Reference

#include "type.h"
Include dependency graph for uart.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef UINT8(* pIdle )()
typedef void(* pCharRecv )(UINT8 byte, UINT32 pos)

Functions

void InitUART (UINT8 dll, UINT8 dlm, UINT8 fdr)
void DisableUART (void)
int UART_SendChar (char ch, ULONG ud)
void UART_SendData (void *buf, UINT32 len)
void UART_SendString (const char *str)
void UART_printf (const char *str,...)
void UARTPrintString (const char *str)
void UARTInit ()

Variables

UINT8 g_uartInit

Typedef Documentation

typedef void(* pCharRecv)(UINT8 byte, UINT32 pos)
typedef UINT8(* pIdle)()

Function Documentation

void DisableUART ( void   ) 

References PINSEL0, and uart0_start_stop_IRQ().

Referenced by UART_printf(), UARTPrintString(), and UARTReceiveSingleTextLine().

Here is the call graph for this function:

Here is the caller graph for this function:

void InitUART ( UINT8  dll,
UINT8  dlm,
UINT8  fdr 
)

References PINSEL0, U0DLL, U0DLM, U0FCR, U0FDR, U0LCR, and uart0_init_IRQ().

Referenced by main(), UART_printf(), UARTInit(), and UARTPrintString().

Here is the call graph for this function:

Here is the caller graph for this function:

void UART_printf ( const char *  str,
  ... 
)

References DisableUART(), funcprintfArp(), InitUART(), SSD1928_CSDown(), SSD1928_CSUp(), and UART_SendChar().

Referenced by ee_stream_cb(), main(), WriteToEEFromSSDMem(), and WriteToUARTFromSSD().

Here is the call graph for this function:

Here is the caller graph for this function:

int UART_SendChar ( char  ch,
ULONG  ud 
)

References U0LSR, U0THR, and uart0_transmit().

Referenced by ConsoleOut(), ProcessUartIo(), UART_printf(), UART_SendData(), and UART_SendString().

Here is the call graph for this function:

Here is the caller graph for this function:

void UART_SendData ( void *  buf,
UINT32  len 
)

References f_putb(), and UART_SendChar().

Referenced by WriteToUARTFromSSD().

Here is the call graph for this function:

Here is the caller graph for this function:

void UART_SendString ( const char *  str  ) 

References f_puts(), and UART_SendChar().

Referenced by UARTPrintString().

Here is the call graph for this function:

Here is the caller graph for this function:

void UARTInit (  ) 

References APBDIV, g_uartInit, and InitUART().

Referenced by main(), and UARTReceiveSingleTextLine().

Here is the call graph for this function:

Here is the caller graph for this function:

void UARTPrintString ( const char *  str  ) 

References DisableUART(), InitUART(), SSD1928_CSDown(), SSD1928_CSUp(), and UART_SendString().

Here is the call graph for this function:


Variable Documentation

Generated on Wed Mar 23 11:08:38 2011 for Omnima LCD by  doxygen 1.6.3