source: ReferenceDesigns/w3_802.11/c/high_periphs/timer/axi_timer/include/wlan_platform_timer.h

Last change on this file was 6319, checked in by chunter, 5 years ago

1.8.0 release wlan-mac-se

File size: 884 bytes
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
18int  wlan_timer_init(int timer_dev_id, u32 interval);
19int wlan_timer_setup_interrupt(int int_id, function_ptr_t callback);
20void wlan_timer_start();
21int  wlan_timer_stop();
Note: See TracBrowser for help on using the repository browser.