1 /*!
2 * Copyright (c) 2015, Freescale Semiconductor, Inc.
3 * All rights reserved.
4 *
5 * \file tsm_timing_zigbee.h
6 * Header file for the Zigbee specific TSM timings.
7 *
8 * Redistribution and use in source and binary forms, with or without modification,
9 * are permitted provided that the following conditions are met:
10 *
11 * o Redistributions of source code must retain the above copyright notice, this list
12 *   of conditions and the following disclaimer.
13 *
14 * o Redistributions in binary form must reproduce the above copyright notice, this
15 *   list of conditions and the following disclaimer in the documentation and/or
16 *   other materials provided with the distribution.
17 *
18 * o Neither the name of Freescale Semiconductor, Inc. nor the names of its
19 *   contributors may be used to endorse or promote products derived from this
20 *   software without specific prior written permission.
21 *
22 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
23 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
24 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
25 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
26 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
27 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
28 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
29 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
31 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 */
33 
34 #ifndef TSM_TIMING_ZIGBEE_H
35 #define TSM_TIMING_ZIGBEE_H
36 
37 /*! *********************************************************************************
38 *************************************************************************************
39 * Macros
40 *************************************************************************************
41 ********************************************************************************** */
42 /* Zigbee timings are the mostly the same as BLE but TSM requires an extra clock to detect TX/RX
43  * requests from the Zigbee block
44  */
45 #define ZB_TSM_EXTRA_DELAY          (1)  /* Extra delay for TSM to recognize Zigbee TX or RX requests */
46 
47 /* Zigbee TX DIG requires an extra tick */
48 #define ZB_TX_DIG_ADVANCE           (1)  /* TX_DIG takes an extra tick for Zigbee */
49 
50 /*! *********************************************************************************
51 *************************************************************************************
52 * Public prototypes
53 *************************************************************************************
54 ********************************************************************************** */
55 #ifdef __cplusplus
56 extern "C"
57 {
58 #endif
59 
60 
61 #ifdef __cplusplus
62 }
63 #endif
64 
65 
66 #endif /* TSM_TIMING_ZIGBEE_H */
67