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

Subversion Repositories or1k

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

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

Rev 186 Rev 221
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 int value);
void uart_write(unsigned long addr, unsigned long value);
unsigned int uart_read(unsigned long addr);
unsigned long uart_read(unsigned long addr);
void uart_reset();
void uart_reset();
void uart_clock();
void uart_clock();
 
 
/* Registers */
/* Registers */
 
 
Line 47... Line 47...
        struct {
        struct {
                unsigned char txser;
                unsigned char txser;
                unsigned char rxser;
                unsigned char rxser;
                unsigned char txbuf;
                unsigned char txbuf;
                unsigned char rxbuf;
                unsigned char rxbuf;
 
                unsigned char thre_int;
                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;
        int    rxfd;    /* Changed by CZ for non blocking I/O */
        FILE * rxfs;
        int    txfd;    /* Changed by CZ for non blocking I/O */
        FILE * txfs;
        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.