Line | |
---|
1 | /** @file wlan_platform_intc.c |
---|
2 | * |
---|
3 | * Wrapper for axi_intc interrupt controller driver |
---|
4 | * |
---|
5 | * @copyright Copyright 2013-2019, Mango Communications. All rights reserved. |
---|
6 | * Distributed under the Mango Communications Reference Design License |
---|
7 | * See LICENSE.txt included in the design archive or |
---|
8 | * at http://mangocomm.com/802.11/license |
---|
9 | * |
---|
10 | * This file is part of the Mango 802.11 Reference Design (https://mangocomm.com/802.11) |
---|
11 | */ |
---|
12 | |
---|
13 | // Required for interrupt_state_t and wlan_intr_handler_t types |
---|
14 | |
---|
15 | #include "xil_types.h" |
---|
16 | #include "wlan_common_types.h" |
---|
17 | #include "wlan_high_types.h" |
---|
18 | |
---|
19 | // Function prototypes |
---|
20 | interrupt_state_t wlan_platform_intc_stop(); |
---|
21 | int wlan_platform_intc_start(); |
---|
22 | int wlan_platform_intc_set_state(interrupt_state_t new_interrupt_state); |
---|
23 | interrupt_state_t wlan_platform_intc_get_state(); |
---|
24 | |
---|
25 | int wlan_platform_intc_init(u32 intc_dev_id); |
---|
26 | void wlan_platform_interrupt_disable(u32 intr_id); |
---|
27 | void wlan_platform_interrupt_enable(u32 intr_id); |
---|
28 | int wlan_platform_interrupt_connect(u32 intr_id, wlan_intr_handler_t handler, void *callback_ref); |
---|
29 | |
---|
Note: See
TracBrowser
for help on using the repository browser.