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

Subversion Repositories or1k

[/] [or1k/] [tags/] [stable_0_2_0/] [or1ksim/] [peripheral/] [16450.h] - Diff between revs 31 and 186

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 31 Rev 186
Line 16... Line 16...
You should have received a copy of the GNU General Public License
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
 
 
/* Prototypes */
/* Prototypes */
void uart_write(unsigned long addr, unsigned char value);
void uart_write(unsigned long addr, unsigned int value);
unsigned char uart_read(unsigned long addr);
unsigned int uart_read(unsigned long addr);
void uart_reset();
void uart_reset();
void uart_clock();
void uart_clock();
 
 
/* Registers */
/* Registers */
 
 
Line 51... Line 51...
                unsigned char rxbuf;
                unsigned char rxbuf;
                unsigned long txser_clks;
                unsigned long txser_clks;
                unsigned long rxser_clks;
                unsigned long rxser_clks;
        } istat;        /* Internal status */
        } istat;        /* Internal status */
        unsigned long char_clks;
        unsigned long char_clks;
        FILE * rxfs;
        int    rxfd;    /* Changed by CZ for non blocking I/O */
        FILE * txfs;
        int    txfd;    /* Changed by CZ for non blocking I/O */
        unsigned long baseaddr;
        unsigned long baseaddr;
};
};
 
 
/* Definitions */
/* Definitions */
#define FULL            1
#define FULL            1

powered by: WebSVN 2.1.0

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