•All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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  */
17 #ifndef NRF24L01P_NG_STATES_H
18 #define NRF24L01P_NG_STATES_H
19 
20 #include "nrf24l01p_ng.h"
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
29 #define NRF24L01P_NG_DELAY_US_START_UP (1500)
30 
34 #define NRF24L01P_NG_DELAY_US_RX_SETTLING (130)
35 
39 #define NRF24L01P_NG_DELAY_US_TX_SETTLING (130)
40 
44 #define NRF24L01P_NG_DELAY_US_CE_HIGH_PULSE (10)
45 
52 
59 
66 
73 
80 
81 #ifdef __cplusplus
82 }
83 #endif
84 
85 #endif /* NRF24L01P_NG_STATES_H */
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:142