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

Subversion Repositories neorv32

[/] [neorv32/] [trunk/] [sw/] [lib/] [include/] [neorv32_xirq.h] - Diff between revs 64 and 66

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

Rev 64 Rev 66
Line 34... Line 34...
 
 
 
 
/**********************************************************************//**
/**********************************************************************//**
 * @file neorv32_xirq.h
 * @file neorv32_xirq.h
 * @author Stephan Nolting
 * @author Stephan Nolting
 * @brief SExternal Interrupt controller HW driver header file.
 * @brief External Interrupt controller HW driver header file.
 **************************************************************************/
 **************************************************************************/
 
 
#ifndef neorv32_xirq_h
#ifndef neorv32_xirq_h
#define neorv32_xirq_h
#define neorv32_xirq_h
 
 
 
 
/**********************************************************************//**
 
 * @name XIRQ fast interrupt channel
 
 **************************************************************************/
 
 /**@{*/
 
/** XIRQ MIE FIRQ bit */
 
#define XIRQ_FIRQ_ENABLE  CSR_MIE_FIRQ8E  // MIE FIRQ bit
 
/** XIRQ MIP FIRQ bit */
 
#define XIRQ_FIRQ_PENDING CSR_MIP_FIRQ8P  // MIP FIRQ bit
 
/** XIRQ RTE IRQ ID */
 
#define XIRQ_RTE_ID       RTE_TRAP_FIRQ_8 // RTE IRQ ID
 
/**@}*/
 
 
 
 
 
// prototypes
// prototypes
int neorv32_xirq_available(void);
int neorv32_xirq_available(void);
int neorv32_xirq_setup(void);
int neorv32_xirq_setup(void);
void neorv32_xirq_global_enable(void);
void neorv32_xirq_global_enable(void);
void neorv32_xirq_global_disable(void);
void neorv32_xirq_global_disable(void);

powered by: WebSVN 2.1.0

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