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

Subversion Repositories or1k

[/] [or1k/] [tags/] [stable_0_2_0_rc3/] [or1ksim/] [peripheral/] [16450.h] - Diff between revs 423 and 713

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

Rev 423 Rev 713
Line 26... Line 26...
#define UART_MAX_FIFO_LEN (16)        /* rx FIFO for uart 16550 */
#define UART_MAX_FIFO_LEN (16)        /* rx FIFO for uart 16550 */
#define MAX_SKEW          (1)         /* max. clock skew in subclocks */
#define MAX_SKEW          (1)         /* max. clock skew in subclocks */
#define UART_VAPI_BUF_LEN 128         /* Size of VAPI command buffer - VAPI should not send more
#define UART_VAPI_BUF_LEN 128         /* Size of VAPI command buffer - VAPI should not send more
                                         that this amout of char before requesting something back */
                                         that this amout of char before requesting something back */
#define UART_CLOCK_DIVIDER 16         /* Uart clock divider */
#define UART_CLOCK_DIVIDER 16         /* Uart clock divider */
 
#define UART_FGETC_SLOWDOWN     100   /* fgetc slowdown factor */
 
 
/* Registers */
/* Registers */
 
 
struct dev_16450 {
struct dev_16450 {
  struct {
  struct {
Line 91... Line 92...
  int vapi_buf_tail_ptr;               /* Where we read from */
  int vapi_buf_tail_ptr;               /* Where we read from */
 
 
  /* Length of FIFO, 16 for 16550, 1 for 16450 */
  /* Length of FIFO, 16 for 16550, 1 for 16450 */
  int fifo_len;
  int fifo_len;
 
 
 
  /* fgetc slowdown */
 
  int slowdown;
 
 
  /* Required by standard file streams */
  /* Required by standard file streams */
  FILE * rxfs;
  FILE * rxfs;
  FILE * txfs;
  FILE * txfs;
};
};
 
 

powered by: WebSVN 2.1.0

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