Loading...
Searching...
No Matches
nrf24l01p_ng_constants.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2019 Otto-von-Guericke-Universität Magdeburg
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser
5 * General Public License v2.1. See the file LICENSE in the top level
6 * directory for more details.
7 */
8
9#pragma once
10
20
21#include "nrf24l01p_ng.h"
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
31#define NRF24L01P_NG_MAX_PAYLOAD_WIDTH (32)
32
37#define NRF24L01P_NG_MAX_RETRANSMISSIONS (15)
38
42#define NRF24L01P_NG_BASE_FRQ_MHZ (2400)
43
47#define NRF24L01P_NG_MAX_FRQ_MHZ (2525)
48
63#define NRF24L01P_NG_NUM_CHANNELS (NRF24L01P_NG_MAX_FRQ_MHZ - \
64 NRF24L01P_NG_BASE_FRQ_MHZ)
65
69#define NRF24L01P_NG_DEFAULT_TX_ADDR { 0xE7, 0xE7, 0xE7, 0xE7, 0xE7 }
70
74#define NRF24L01P_NG_DEFAULT_ADDR_P0 { 0xE7, 0xE7, 0xE7, 0xE7, 0xE7 }
75
79#define NRF24L01P_NG_DEFAULT_ADDR_P1 { 0xC2, 0xC2, 0xC2, 0xC2, 0xC2 }
80
84#define NRF24L01P_NG_DEFAULT_ADDR_P2 (0xC3)
85
89#define NRF24L01P_NG_DEFAULT_ADDR_P3 (0xC4)
90
94#define NRF24L01P_NG_DEFAULT_ADDR_P4 (0xC5)
95
99#define NRF24L01P_NG_DEFAULT_ADDR_P5 (0xC6)
100
101#ifdef __cplusplus
102}
103#endif
104
Public interface for NRF24L01+ (NG) devices.