IQRF SPI library for Arduino
Version 1.2
Main Page
Classes
Files
Examples
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
IQSPI.h
Go to the documentation of this file.
1
22
#ifndef IQSPI_H
23
#define IQSPI_H
24
25
#define IQSPI_CLOCK 250000
26
27
#if defined(__PIC32MX__)
28
#include <WProgram.h>
29
#include <DSPI.h>
30
#else
31
#include <Arduino.h>
32
#include <SPI.h>
33
#endif
34
#include <stdint.h>
35
36
#include "
IQRFSettings.h
"
37
41
class
IQSPI
{
42
public
:
43
void
begin
();
44
void
end
();
45
uint8_t
transfer
(uint8_t txByte);
46
private
:
47
#if defined(__PIC32MX__)
48
DSPI0 spi;
50
#endif
51
};
52
53
#endif
IQSPI::transfer
uint8_t transfer(uint8_t txByte)
Definition:
IQSPI.cpp:55
IQRFSettings.h
IQSPI
Definition:
IQSPI.h:41
IQSPI::end
void end()
Definition:
IQSPI.cpp:42
IQSPI::begin
void begin()
Definition:
IQSPI.cpp:27
src
IQSPI.h
Generated on Sun Nov 27 2016 16:23:09 for IQRF SPI library for Arduino by
1.8.6