Commit Graph

4 Commits

Author SHA1 Message Date
Dimitris Papavasiliou
3a5434f5f4 Fix error handling in SPI master. (#11122)
Co-authored-by: Dimitris Papavasiliou <dpapavas@gmail.com>
2021-01-12 22:46:06 -08:00
itsnoteasy
7d8930c805 adds support for the atmega328 (#9043)
Co-authored-by: Ryan <fauxpark@gmail.com>
2020-08-08 21:04:00 -07:00
Nick Brassel
9fe1c38b4c Fix AVR SPI parameter configuration, remove timeouts due to sync protocol. (#8775) 2020-06-12 17:00:27 +09:00
Ryan
7777c04547 spi_master for AVR (#8299)
* Change _delay_ms/us() to wait_ms/us()

* Switch to platform-agnostic GPIO macros

* Add AVR spi_master and migrate Adafruit BLE code

* Set verbose back to false

* Add clock divisor, bit order and SPI mode configuration for init

* Add start and stop functions

* Move configuration of mode, endianness and speed to `spi_start()`

* Some breaks here would be good

* Default Adafruit BLE clock divisor to 4 (2MHz on the Feather 32U4)

* Remove mode and divisor enums

* Add some docs

* No hr at EOF

* Add links in sidebar
2020-06-12 17:00:27 +09:00