ladyada
05398d9395
add trinket/attiny8 support
2021-06-30 16:46:43 -04:00
Limor "Ladyada" Fried
a8c9c5183c
Merge pull request #40 from jgfoster/memory_leak
...
Release memory allocated in constructor to avoid memory leak
2020-11-30 19:07:32 -05:00
James Foster
b837d9c427
Edit comment to match other functions.
2020-11-30 15:55:28 -08:00
James Foster
3fc89c5835
Release memory allocated in constructors
2020-11-30 15:47:49 -08:00
howard-wa9axq
074a8a9323
Update Adafruit_SPIDevice.cpp
2020-11-28 19:13:19 -06:00
howard-wa9axq
ed828a27f7
Removed extra blank line
2020-11-28 18:37:05 -06:00
howard-wa9axq
b8e11f14f1
Updated #if #elif structure.
...
Update #if #elif structure to avoid nested #ifdef's
2020-11-28 18:22:48 -06:00
howard-wa9axq
02b702fc41
Update Adafruit_SPIDevice.cpp
...
Changing #ifdef construct to make STM32 a special case.
2020-11-28 16:43:05 -06:00
howard-wa9axq
40ccbb3739
Update Adafruit_SPIDevice.cpp
2020-11-28 16:16:58 -06:00
howard-wa9axq
0787a7dd4d
Update Adafruit_SPIDevice.cpp
...
Adjusted syntax of added 'for' statement
2020-11-28 15:21:54 -06:00
howard-wa9axq
197d21ad2a
Update Adafruit_SPIDevice.cpp
...
Added code to define 'i'.
2020-11-28 15:05:52 -06:00
howard-wa9axq
a5c631593e
Update Adafruit_SPIDevice.cpp
...
The SPI.cpp that the STM32 project uses does not have a transfer method with both a buffer and a length. Changes to this file uses a transfer method that just needs a single 8 bit character.
2020-11-28 14:15:01 -06:00
Robin Giese
dacc017bb6
Use blocking DMA for SPI transfer
2020-08-24 09:32:20 -07:00
Robin Giese
b8da0bd043
Formatting fixes
2020-08-23 21:44:10 -07:00
Robin Giese
28cc900343
Help library compile for Spark/Particle
2020-08-23 21:18:19 -07:00
lady ada
e7fff533a3
add some delays to slow down fast bitbang on demand
2020-07-18 18:40:45 -04:00
lady ada
3ab09b4a46
clang
2020-07-18 15:58:19 -04:00
lady ada
a552fae34e
only write MOSI if its changed
2020-07-18 15:57:15 -04:00
lady ada
a830055740
remove extra shifts
2020-07-18 15:50:07 -04:00
lady ada
b1b5f031e7
shortcut to alt modes
2020-07-18 15:40:52 -04:00
lady ada
605d437891
simplifyi LSB/MSB handling for soft spi
2020-07-18 15:38:53 -04:00
lady ada
0b1dbbd0e4
add fast software spi
2020-07-18 14:18:07 -04:00
lady ada
2179775500
add begin/end transaction helpers (needed for really odd devices like SHARP memory display which has inverted CS)
2020-07-18 12:03:30 -04:00
caternuson
0f76587660
remove delay
2020-05-20 12:29:49 -07:00
lady ada
82f5ba5ecf
fix incorrect spacing for debug prints
2020-05-16 00:15:52 -04:00
siddacious
e4243a9fe9
fixing support for SPI modes 2 & 3
2020-04-22 11:36:01 -07:00
siddacious
be95f9da0b
clang
2020-04-20 17:08:09 -07:00
siddacious
c852d5744c
adding check for _mosi== -1
2020-04-20 17:01:43 -07:00
Lady Ada
1f034b34e9
clang
2020-02-23 19:47:22 -05:00
Lady Ada
bd6281d5be
fix bitbang mode 0 clock polarity to match standard
2020-02-23 19:37:42 -05:00
Lady Ada
9711a24996
remove debug
2020-02-22 18:08:36 -05:00
Lady Ada
26305c9e25
let us check i2c connection on register bit reads
2020-02-22 18:08:14 -05:00
Lady Ada
ddee2a2339
remove travis, add actions, clang, bump version
2019-12-27 19:49:16 -05:00
ladyada
e61d6bac17
yikes everyone has a differnet way of doing SPI bit order
2019-05-18 19:20:13 -04:00
ladyada
dbe2441417
support mode0 and mode1 for now
2019-05-18 18:59:07 -04:00
ladyada
c226325dee
add (currently slow) bitbang SPI, with MSB and LSB support
2019-05-18 18:46:25 -04:00
ladyada
22bb52fa3a
doxy spi too
2019-05-18 14:17:48 -04:00
ladyada
f1d3b87620
remove debugging, bump to 1.0.0 for a release that includes SPI
2019-05-18 03:16:36 -04:00
ladyada
38dcfd17b0
fix missing bitorder define on some platforms, and update i2cregister to busioreg
2019-05-18 00:12:37 -04:00
ladyada
31ba580ed3
spi register support
2019-05-18 00:04:51 -04:00
ladyada
bb33ff7118
initial SPI bus device
2019-05-17 23:36:14 -04:00