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

Subversion Repositories or1k

[/] [or1k/] [tags/] [stable_0_2_0_rc3/] [or1ksim/] [peripheral/] [gpio_i.h] - Diff between revs 444 and 477

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

Rev 444 Rev 477
Line 25... Line 25...
#include "config.h"
#include "config.h"
 
 
/*
/*
 * The various VAPI IDs each GPIO device has
 * The various VAPI IDs each GPIO device has
 */
 */
enum { GPIO_VAPI_CONFIG = 0, GPIO_VAPI_DATA, GPIO_VAPI_AUX, GPIO_VAPI_CLOCK, GPIO_NUM_VAPI_IDS };
enum { GPIO_VAPI_DATA = 0, GPIO_VAPI_AUX, GPIO_VAPI_CLOCK,
 
       GPIO_VAPI_RGPIO_OE, GPIO_VAPI_RGPIO_INTE, GPIO_VAPI_RGPIO_PTRIG, GPIO_VAPI_RGPIO_AUX, GPIO_VAPI_RGPIO_CTRL,
 
       GPIO_NUM_VAPI_IDS };
 
 
 
 
/*
/*
 * Implementatino of GPIO Code Registers and State
 * Implementatino of GPIO Code Registers and State
 */
 */
Line 43... Line 45...
 
 
  /* Which GPIO is this? */
  /* Which GPIO is this? */
  unsigned gpio_number;
  unsigned gpio_number;
 
 
  /* VAPI IDs */
  /* VAPI IDs */
  unsigned long vapi_ids[GPIO_NUM_VAPI_IDS];
  unsigned long base_vapi_id;
 
 
  /* Auxiliary inputs */
  /* Auxiliary inputs */
  unsigned long auxiliary_inputs;
  unsigned long auxiliary_inputs;
 
 
  /* Visible registers */
  /* Visible registers */

powered by: WebSVN 2.1.0

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