#include "common.h"
Include dependency graph for nrf24l01.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Defines | |
| #define | NRF_NOP 0xff |
| #define | R_REGISTER 0x00 |
| #define | W_REGISTER 0x01 |
| #define | R_RX_PAYLOAD 0x61 |
| #define | W_TX_PAYLOAD 0xA0 |
| #define | FLUSH_TX 0xE1 |
| #define | FLUSH_RX 0xE2 |
| #define | REUSE_TX_PL 0xE3 |
| #define | RX_ADDR_P0 0x0A |
| #define | RX_ADDR_P1 0x0B |
| #define | TX_ADDR 0x10 |
| #define | RX_PW_P0 0x11 |
| #define | RX_PW_P1 0x12 |
| #define | FIFO_STATUS 0x17 |
| #define | MAX_RT 0x10 |
| #define | CONFIG_REG_ADDR 0x00 |
| #define | STATUS_ADDR 0x07 |
| #define | FLUSH_TX 0xE1 |
| #define | TX_FULL 0x01 |
| #define | RX_DR 0x40 |
| #define | TX_DS 0x20 |
| #define | IRQ() (!(P8IN & BIT5)) |
| #define | RX_TX_TIME 100000 |
| #define | BUT_TIME 10000 |
Functions | |
| void | NRF_init (void) |
| void | NRF_send (uint8_t byte) |
| void | NRF_prepareForReceive () |
| bool_t | NRF_receive (uint8_t *const byte) |
Definition in file nrf24l01.h.
| void NRF_prepareForReceive | ( | ) |
After sending a byte you may set the device to RX mode.
Definition at line 321 of file nrf24l01.c.
| bool_t NRF_receive | ( | uint8_t *const | byte | ) |
Receive one byte from the air via chip nRF24L01. Addresses are hardcoded:
| byte | The data byte to receive. |
Definition at line 337 of file nrf24l01.c.
| void NRF_send | ( | uint8_t | byte | ) |
Send one byte to the air via chip nRF24L01. Addresses are hardcoded:
| byte | The data byte to send. |
Definition at line 260 of file nrf24l01.c.
1.5.1