OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [uIP_Demo_IAR_ARM7/] [SrcIAR/] [init.c] - Blame information for rev 607

Go to most recent revision | Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.