URL
https://opencores.org/ocsvn/neorv32/neorv32/trunk
[/] [neorv32/] [trunk/] [sw/] [lib/] [include/] [neorv32_xirq.h] - Diff between revs 66 and 74
Show entire file |
Details |
Blame |
View Log
Rev 66 |
Rev 74 |
Line 33... |
Line 33... |
// #################################################################################################
|
// #################################################################################################
|
|
|
|
|
/**********************************************************************//**
|
/**********************************************************************//**
|
* @file neorv32_xirq.h
|
* @file neorv32_xirq.h
|
* @author Stephan Nolting
|
|
* @brief External 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
|
Line 49... |
Line 48... |
void neorv32_xirq_global_disable(void);
|
void neorv32_xirq_global_disable(void);
|
int neorv32_xirq_get_num(void);
|
int neorv32_xirq_get_num(void);
|
void neorv32_xirq_clear_pending(uint8_t ch);
|
void neorv32_xirq_clear_pending(uint8_t ch);
|
void neorv32_xirq_channel_enable(uint8_t ch);
|
void neorv32_xirq_channel_enable(uint8_t ch);
|
void neorv32_xirq_channel_disable(uint8_t ch);
|
void neorv32_xirq_channel_disable(uint8_t ch);
|
|
|
int neorv32_xirq_install(uint8_t ch, void (*handler)(void));
|
int neorv32_xirq_install(uint8_t ch, void (*handler)(void));
|
int neorv32_xirq_uninstall(uint8_t ch);
|
int neorv32_xirq_uninstall(uint8_t ch);
|
|
|
|
|
#endif // neorv32_xirq_h
|
#endif // neorv32_xirq_h
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.