Paul Stoffregen
aef5445f90
Merge pull request #11 from KurtE/SPI1-for-3.4/3.5
Added SPI1 object for Teensy 3.5 test board
pirms 8 gadiem
Kurt Eckhardt
17ffb0096c
SPCR1 used in setDataMode
pirms 8 gadiem
Kurt Eckhardt
27116d575e
SPI1 Missed updates to SIM_SCGC6
pirms 8 gadiem
Kurt Eckhardt
4f13273546
Added SPI1 object for Teensy 3.5 test board
These changes plus some changes in core (added register defines, plus
added logical SPCR1 register), allowed me to do quick hack to
serialFlash library and test and initialize flash memory using 3.5 test
board connected to prop shield using pins 0, 1, 20 and 6
pirms 8 gadiem
PaulStoffregen
c593e4bd11
Add library.properties
pirms 8 gadiem
PaulStoffregen
ad88dec629
Update examples to use transactions
pirms 9 gadiem
PaulStoffregen
f43cb14bd2
Fix transfer16
pirms 9 gadiem
Paul Stoffregen
a5977d6d1f
Merge pull request #6 from crteensy/patch-1
Update SPI.h
pirms 9 gadiem
crteensy
2401901b56
Update SPI.h
In the comments: "Teensy 3.x" changed to "Teensy LC". Or is the LC also part of the "3" family?
pirms 9 gadiem
PaulStoffregen
d4d1c18995
Use 12 Mbit/sec for SPI_CLOCK_DIV2 on Teensy 3.x & LC
pirms 9 gadiem
PaulStoffregen
009ca8f984
Enable SPI1 on Teensy-LC
pirms 9 gadiem
PaulStoffregen
e516ecc3ef
Add SPI1 on Teensy-LC
pirms 9 gadiem
PaulStoffregen
c8e19a33d2
Add support for Teensy-LC
pirms 9 gadiem
PaulStoffregen
e3f07329a5
Add SPI_ATOMIC_VERSION symbol
pirms 10 gadiem
PaulStoffregen
d0eca0a3f3
disable interrupts during usingInterrupt() on AVR
pirms 10 gadiem
PaulStoffregen
cec43ff698
Speedup transfer16() on AVR
pirms 10 gadiem
PaulStoffregen
0d69254081
Fix minor grammar error in comments
pirms 10 gadiem
PaulStoffregen
1708ef0d34
Fix SPI beginTransaction race condition (thanks to Andrew Knoll)
http://forum.pjrc.com/threads/26776-Teensyduino-1-20-Released?p=56316&viewfull=1#post56316
pirms 10 gadiem
PaulStoffregen
98a75fab09
Add notUsingInterrupt()
pirms 10 gadiem
PaulStoffregen
af21fcd6a8
Add SPI_TRANSACTION_MISMATCH_LED option
pirms 10 gadiem
PaulStoffregen
4416fbe4fb
Fix bugs on Arduino Due version
pirms 10 gadiem
PaulStoffregen
c42a900006
Add interrupt masking for Teensy 3.x
pirms 10 gadiem
PaulStoffregen
9bab977b5d
Fix clocks in Arduino Due's SPISettings
pirms 10 gadiem
PaulStoffregen
5836e69009
Add SPISettings for Arduino Due
pirms 10 gadiem
PaulStoffregen
68a0138a8a
Add Arduino Due code
pirms 10 gadiem
PaulStoffregen
37c9bd9e7d
Move AVR INT mapping to cpp file
pirms 10 gadiem
PaulStoffregen
5171b3ca56
Native transfer() & transfer() on Teensy 3.x
pirms 10 gadiem
PaulStoffregen
467f99149d
Add Teensy 3.x chip select pin functions and transfer16() for AVR
pirms 10 gadiem
PaulStoffregen
cf1ba732d9
Restructure into separate AVR & ARM sections
pirms 10 gadiem
PaulStoffregen
05cd3c17cf
Port SPISettings to Teensy 3.x
pirms 10 gadiem
PaulStoffregen
2535e00fd7
Fix typo
pirms 10 gadiem
PaulStoffregen
20d9d8ae3d
Add default settings for simple constructor
pirms 10 gadiem
PaulStoffregen
2fae5ca5ae
Make sure MSBFIRST & LSBFIRST always defined
pirms 10 gadiem
PaulStoffregen
e07c056bf8
Add SPISettings (Matthijs Kooijman)
pirms 10 gadiem
PaulStoffregen
2d81fd9e8f
Add optimized transfer()
pirms 10 gadiem
PaulStoffregen
09cf8e2a9f
update keywords
pirms 10 gadiem
PaulStoffregen
70e952d0b5
Update readme
pirms 10 gadiem
PaulStoffregen
f073c6308f
Import prior SPI transaction work
pirms 10 gadiem
PaulStoffregen
76af17227a
Import SPI from Teensyduino 1.19
pirms 10 gadiem