nrf24l01p_ng_states.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 
21 #include "nrf24l01p_ng.h"
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
30 #define NRF24L01P_NG_DELAY_US_START_UP (1500)
31 
35 #define NRF24L01P_NG_DELAY_US_RX_SETTLING (130)
36 
40 #define NRF24L01P_NG_DELAY_US_TX_SETTLING (130)
41 
45 #define NRF24L01P_NG_DELAY_US_CE_HIGH_PULSE (10)
46 
53 
60 
67 
74 
81 
82 #ifdef __cplusplus
83 }
84 #endif
85 
Public interface for NRF24L01+ (NG) devices.
void nrf24l01p_ng_transition_to_standby_1(nrf24l01p_ng_t *dev)
Go to idle state, wake up device.
void nrf24l01p_ng_transition_to_standby_2(nrf24l01p_ng_t *dev)
Go to "be ready to transmit" state.
void nrf24l01p_ng_transition_to_power_down(nrf24l01p_ng_t *dev)
Put device to sleep.
void nrf24l01p_ng_transition_to_tx_mode(nrf24l01p_ng_t *dev)
Go to Tx mode.
void nrf24l01p_ng_transition_to_rx_mode(nrf24l01p_ng_t *dev)
Go to Rx mode.
NRF24L01+ device struct.
Definition: nrf24l01p_ng.h:143