26#ifndef DETERMINISTICESPASYNCWEBSERVER_NRF24_H
27#define DETERMINISTICESPASYNCWEBSERVER_NRF24_H
37typedef void (*nrf_spi_fn)(
const uint8_t *tx, uint8_t *rx, uint8_t len,
void *ctx);
39typedef void (*nrf_ce_fn)(
bool level,
void *ctx);
52 const uint8_t *address;
63bool nrf24_init(
const nrf_bus *bus,
const nrf_config *cfg);
69bool nrf24_send(
const nrf_bus *bus,
const uint8_t *data, uint8_t len);
72bool nrf24_tx_done(
const nrf_bus *bus);
75void nrf24_set_rx(
const nrf_bus *bus);
82int nrf24_recv(
const nrf_bus *bus, uint8_t *buf, uint8_t cap, uint8_t *pipe);
User-facing configuration for DeterministicESPAsyncWebServer.