1 //*----------------------------------------------------------------------------
\r
2 //* ATMEL Microcontroller Software Support - ROUSSET -
\r
3 //*----------------------------------------------------------------------------
\r
4 //* The software is delivered "AS IS" without warranty or condition of any
\r
5 //* kind, either express, implied or statutory. This includes without
\r
6 //* limitation any warranty or condition with respect to merchantability or
\r
7 //* fitness for any particular purpose, or against the infringements of
\r
8 //* intellectual property rights of others.
\r
9 //*----------------------------------------------------------------------------
\r
10 //* File Name : init.c
\r
11 //* Object : Low level initialisations written in C
\r
12 //* Creation : ODi 06/26/2002
\r
14 //*----------------------------------------------------------------------------
\r
19 //*----------------------------------------------------------------------------
\r
20 //* \fn AT91F_DBGU_Printk
\r
21 //* \brief This function is used to send a string through the DBGU channel (Very low level debugging)
\r
22 //*----------------------------------------------------------------------------
\r
23 void AT91F_DBGU_Printk(
\r
24 char *buffer) // \arg pointer to a string ending by \0
\r
26 while(*buffer != '\0') {
\r
27 while (!AT91F_US_TxReady((AT91PS_USART)AT91C_BASE_DBGU));
\r
28 AT91F_US_PutChar((AT91PS_USART)AT91C_BASE_DBGU, *buffer++);
\r