Optimized high speed nRF24L01+ driver class documentation
v1.4.10
TMRh20 2020 - Optimized fork of the nRF24L01+ driver
Main Page
Related Pages
Topics
Classes
Files
Examples
File List
File Members
Loading...
Searching...
No Matches
utility
Template
spi.h
Go to the documentation of this file.
1
12
#ifndef RF24_UTILITY_TEMPLATE_SPI_H_
13
#define RF24_UTILITY_TEMPLATE_SPI_H_
14
15
#include <stdint.h>
16
17
#ifndef DOXYGEN_FORCED
18
// exclude this line from the docs to prevent displaying in the list of classes
19
class
SPI
20
#endif
21
{
22
23
public
:
27
SPI();
28
32
void
begin
(
int
busNo);
33
39
uint8_t
transfer
(uint8_t tx_);
40
47
void
transfernb
(
char
* txBuf,
char
* rxBuf, uint32_t len);
48
54
void
transfern
(
char
* buf, uint32_t len);
55
56
#ifndef DOXYGEN_FORCED
57
// exclude this line from the docs to prevent warnings docs generators
58
virtual
~SPI();
59
#endif
60
61
private
:
63
int
bus;
65
uint8_t mode;
67
uint8_t bits;
69
uint32_t speed;
70
};
71
74
#endif
// RF24_UTILITY_TEMPLATE_SPI_H_
transfernb
void transfernb(char *txBuf, char *rxBuf, uint32_t len)
transfer
uint8_t transfer(uint8_t tx_)
transfern
void transfern(char *buf, uint32_t len)
begin
void begin(int busNo)
Generated on Sun Oct 6 2024 for Optimized high speed nRF24L01+ driver class documentation by
1.12.0