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

Subversion Repositories minsoc

[/] [minsoc/] [trunk/] [sw/] [uart/] [uart.c] - Diff between revs 149 and 158

Show entire file | Details | Blame | View Log

Rev 149 Rev 158
Line 1... Line 1...
#include <board.h>
#include <interconnect.h>
#include <support.h>
#include <support.h>
#include <or1200.h>
#include <or1200.h>
#include <int.h>
#include <int.h>
 
 
#include <uart.h>
#include <uart.h>
 
 
int main()
int main()
{
{
        uart_init();
        uart_init(UART_BASE);
 
 
        int_init();
        int_init();
        int_add(UART_IRQ, &uart_interrupt, NULL);
        int_add(UART_IRQ, &uart_interrupt, NULL);
 
 
        /* We can't use printf because in this simple example
        /* We can't use printf because in this simple example

powered by: WebSVN 2.1.0

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