Line | |
---|
1 | /** @file wlan_platform_timer.h |
---|
2 | * |
---|
3 | * Header for wlan_axi_timer.c wrapper that conforms to high platform timer API requirements |
---|
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 function_ptr_t type |
---|
14 | #include "wlan_high_types.h" |
---|
15 | |
---|
16 | // Function prototypes - these functions must be implemented by whatever |
---|
17 | // peripheral driver wrapper provides timer functionality |
---|
18 | int wlan_timer_init(int timer_dev_id, u32 interval); |
---|
19 | int wlan_timer_setup_interrupt(int int_id, function_ptr_t callback); |
---|
20 | void wlan_timer_start(); |
---|
21 | int wlan_timer_stop(); |
---|
Note: See
TracBrowser
for help on using the repository browser.