source: ReferenceDesigns/w3_802.11/c/wlan_w3_common/include/w3_mac_time_util.h

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

1.8.0 release wlan-mac-se

File size: 1.8 KB
Line 
1/** @file wlan_mac_time_util.h
2 *  @brief Time Definitions
3 *
4 *  This contains time definitions of required by both CPU_HIGH and CPU_LOW.
5 *
6 *  @copyright Copyright 2013-2019, Mango Communications. All rights reserved.
7 *          Distributed under the Mango Communications Reference Design License
8 *              See LICENSE.txt included in the design archive or
9 *              at http://mangocomm.com/802.11/license
10 *
11 *  This file is part of the Mango 802.11 Reference Design (https://mangocomm.com/802.11)
12 */
13
14/***************************** Include Files *********************************/
15
16/*************************** Constant Definitions ****************************/
17#ifndef WLAN_MAC_TIME_UTIL_H_
18#define WLAN_MAC_TIME_UTIL_H_
19
20
21//-----------------------------------------------
22// WLAN MAC TIME HW register definitions
23//
24// RO:
25#define WLAN_MAC_TIME_REG_SYSTEM_TIME_MSB                  XPAR_WLAN_MAC_TIME_HW_MEMMAP_SYSTEM_TIME_USEC_MSB
26#define WLAN_MAC_TIME_REG_SYSTEM_TIME_LSB                  XPAR_WLAN_MAC_TIME_HW_MEMMAP_SYSTEM_TIME_USEC_LSB
27#define WLAN_MAC_TIME_REG_MAC_TIME_MSB                     XPAR_WLAN_MAC_TIME_HW_MEMMAP_MAC_TIME_USEC_MSB
28#define WLAN_MAC_TIME_REG_MAC_TIME_LSB                     XPAR_WLAN_MAC_TIME_HW_MEMMAP_MAC_TIME_USEC_LSB
29
30// RW:
31#define WLAN_MAC_TIME_REG_NEW_MAC_TIME_MSB                 XPAR_WLAN_MAC_TIME_HW_MEMMAP_NEW_MAC_TIME_MSB
32#define WLAN_MAC_TIME_REG_NEW_MAC_TIME_LSB                 XPAR_WLAN_MAC_TIME_HW_MEMMAP_NEW_MAC_TIME_LSB
33#define WLAN_MAC_TIME_REG_CONTROL                          XPAR_WLAN_MAC_TIME_HW_MEMMAP_CONTROL
34
35// Control reg masks
36#define WLAN_MAC_TIME_CTRL_REG_RESET_SYSTEM_TIME           0x00000001
37#define WLAN_MAC_TIME_CTRL_REG_UPDATE_MAC_TIME             0x00000002
38
39
40/*********************** Global Structure Definitions ************************/
41
42#endif
Note: See TracBrowser for help on using the repository browser.