summaryrefslogtreecommitdiff
path: root/openpcd/firmware/src/dbgu.h
blob: 2207e52fbf8a1a0e4b2d011c63b07c92539da5ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//*----------------------------------------------------------------------------
//*         ATMEL Microcontroller Software Support  -  ROUSSET  -
//*----------------------------------------------------------------------------
//* The software is delivered "AS IS" without warranty or condition of any
//* kind, either express, implied or statutory. This includes without
//* limitation any warranty or condition with respect to merchantability or
//* fitness for any particular purpose, or against the infringements of
//* intellectual property rights of others.
//*----------------------------------------------------------------------------
//* File Name           : Debug.h
//* Object              : Debug menu
//* Creation            : JPP   02/Sep/2004
//*----------------------------------------------------------------------------

#ifndef dbgu_h
#define dbgu_h

#include <stdio.h>

#define AT91C_DBGU_BAUD 115200

//* ----------------------- External Function Prototype -----------------------

void AT91F_DBGU_Init(void);
void AT91F_DBGU_Printk(	char *buffer);
void AT91F_DBGU_Frame(	char *buffer);
int AT91F_DBGU_Get( char *val);
#ifndef __WinARM__
void AT91F_DBGU_scanf(char * type,unsigned int * val);
#endif

#endif /* dbgu_h */
personal git repositories of Harald Welte. Your mileage may vary