CC26xx Driver Library
rf_ble_mailbox.h
Go to the documentation of this file.
1 /******************************************************************************
2 * Filename: rf_ble_mailbox.h
3 * Revised: 2016-02-18 12:46:56 +0100 (Thu, 18 Feb 2016)
4 * Revision: 45712
5 *
6 * Description: Definitions for BLE mode radio interface
7 *
8 * Copyright (c) 2015, Texas Instruments Incorporated
9 * All rights reserved.
10 *
11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions are met:
13 *
14 * 1) Redistributions of source code must retain the above copyright notice,
15 * this list of conditions and the following disclaimer.
16 *
17 * 2) Redistributions in binary form must reproduce the above copyright notice,
18 * this list of conditions and the following disclaimer in the documentation
19 * and/or other materials provided with the distribution.
20 *
21 * 3) Neither the name of the ORGANIZATION nor the names of its contributors may
22 * be used to endorse or promote products derived from this software without
23 * specific prior written permission.
24 *
25 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
26 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
27 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
28 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
29 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
30 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
31 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
32 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
33 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
34 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35 * POSSIBILITY OF SUCH DAMAGE.
36 *
37 ******************************************************************************/
38 
39 #ifndef __BLE_MAILBOX_H
40 #define __BLE_MAILBOX_H
41 
42 #include <driverlib/rf_mailbox.h>
43 
48 #define IRQN_BLE_TX_DONE IRQN_TX_DONE
49 #define IRQN_BLE_TX_ACK IRQN_TX_ACK
50 #define IRQN_BLE_TX_CTRL IRQN_TX_CTRL
51 #define IRQN_BLE_TX_CTRL_ACK IRQN_TX_CTRL_ACK
52 #define IRQN_BLE_TX_CTRL_ACK_ACK IRQN_TX_CTRL_ACK_ACK
53 #define IRQN_BLE_TX_RETRANS IRQN_TX_RETRANS
54 #define IRQN_BLE_TX_ENTRY_DONE IRQN_TX_ENTRY_DONE
55 #define IRQN_BLE_TX_BUFFER_CHANGED IRQN_TX_BUFFER_CHANGED
56 #define IRQN_BLE_RX_OK IRQN_RX_OK
57 #define IRQN_BLE_RX_NOK IRQN_RX_NOK
58 #define IRQN_BLE_RX_IGNORED IRQN_RX_IGNORED
59 #define IRQN_BLE_RX_EMPTY IRQN_RX_EMPTY
60 #define IRQN_BLE_RX_CTRL IRQN_RX_CTRL
61 #define IRQN_BLE_RX_CTRL_ACK IRQN_RX_CTRL_ACK
62 #define IRQN_BLE_RX_BUF_FULL IRQN_RX_BUF_FULL
63 #define IRQN_BLE_RX_ENTRY_DONE IRQN_RX_ENTRY_DONE
64 
65 #define IRQ_BLE_TX_DONE (1U << IRQN_BLE_TX_DONE)
66 #define IRQ_BLE_TX_ACK (1U << IRQN_BLE_TX_ACK)
67 #define IRQ_BLE_TX_CTRL (1U << IRQN_BLE_TX_CTRL)
68 #define IRQ_BLE_TX_CTRL_ACK (1U << IRQN_BLE_TX_CTRL_ACK)
69 #define IRQ_BLE_TX_CTRL_ACK_ACK (1U << IRQN_BLE_TX_CTRL_ACK_ACK)
70 #define IRQ_BLE_TX_RETRANS (1U << IRQN_BLE_TX_RETRANS)
71 #define IRQ_BLE_TX_ENTRY_DONE (1U << IRQN_BLE_TX_ENTRY_DONE)
72 #define IRQ_BLE_TX_BUFFER_CHANGED (1U << IRQN_BLE_TX_BUFFER_CHANGED)
73 #define IRQ_BLE_RX_OK (1U << IRQN_BLE_RX_OK)
74 #define IRQ_BLE_RX_NOK (1U << IRQN_BLE_RX_NOK)
75 #define IRQ_BLE_RX_IGNORED (1U << IRQN_BLE_RX_IGNORED)
76 #define IRQ_BLE_RX_EMPTY (1U << IRQN_BLE_RX_EMPTY)
77 #define IRQ_BLE_RX_CTRL (1U << IRQN_BLE_RX_CTRL)
78 #define IRQ_BLE_RX_CTRL_ACK (1U << IRQN_BLE_RX_CTRL_ACK)
79 #define IRQ_BLE_RX_BUF_FULL (1U << IRQN_BLE_RX_BUF_FULL)
80 #define IRQ_BLE_RX_ENTRY_DONE (1U << IRQN_BLE_RX_ENTRY_DONE)
81 
85 #define BLE_DONE_OK 0x1400
86 #define BLE_DONE_RXTIMEOUT 0x1401
87 #define BLE_DONE_NOSYNC 0x1402
88 #define BLE_DONE_RXERR 0x1403
89 #define BLE_DONE_CONNECT 0x1404
90 #define BLE_DONE_MAXNACK 0x1405
91 #define BLE_DONE_ENDED 0x1406
92 #define BLE_DONE_ABORT 0x1407
93 #define BLE_DONE_STOPPED 0x1408
94 #define BLE_ERROR_PAR 0x1800
98 #define BLE_ERROR_RXBUF 0x1801
99 #define BLE_ERROR_NO_SETUP 0x1802
100 #define BLE_ERROR_NO_FS 0x1803
101 #define BLE_ERROR_SYNTH_PROG 0x1804
102 #define BLE_ERROR_RXOVF 0x1805
103 #define BLE_ERROR_TXUNF 0x1806
104 
107 #endif