Joakim Nohlgård
19cee2d757
cpu/stm32f1: spi: Cast enum to unsigned int for comparison
2016-02-28 00:08:00 +01:00
Hauke Petersen
7cad2577ed
cpu/stm32f1: adjusted to new vendor headers
2016-01-26 23:45:50 +01:00
Victor Arino
82796f9aea
cpu/stm32f1: uncrustified spi driver
2015-12-15 17:23:27 +01:00
Victor Arino
f753ce7809
cpu/stm32f1: allow disabling spi peripherals
...
This allows disabling SPI peripherals even if defined in periph_conf.h
by setting the definition SPI_*_EN to 0.
The peripherals were tested against ifdef which caused to include the
code even if the peripheral was disabled, which was incompatible with
the current spi.h common implementation.
2015-12-15 17:23:27 +01:00
Oleg Hahm
fcb5fbf7f6
Merge pull request #4398 from OlegHahm/stm_header_cleanup
...
cpu: remove superfluous definitions in ST header
2015-12-08 08:52:23 +01:00
Oleg Hahm
aa3ef774d0
cpu stm32f1 periph spi: simplify condition
2015-12-08 01:48:21 +01:00
Oleg Hahm
20f1750fb6
cpu stm32fX: fix pedantic compiler warnings
2015-12-07 20:28:52 +01:00
DipSwitch
2e2ec37846
cpu/stm32f1/spi: add SPI peripheral 1 and 2
2015-11-04 13:40:20 +01:00
Joakim Nohlgård
98c465008b
all: Update @gebart family name, email
2015-09-20 13:47:39 +02:00
6c185655c8
cpu: stm32f1: use periph_common SPI functions
2015-08-14 14:46:35 +02:00
Hauke Petersen
af10ab64a7
cpu/stm32f1: simplified pin init in periph drivers
2015-08-12 10:50:17 +02:00
Hauke Petersen
bcb9aebadd
cpu/stm32f1: modernized the GPIO driver
2015-08-06 13:48:25 +02:00
Joakim Gebart
13832d8e62
everything: Remove filename from @file Doxygen command
2015-05-22 07:34:41 +02:00
Joakim Gebart
f64c54bf66
stm32f1: Basic implementation of spi_acquire(), spi_release()
...
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-19 19:05:31 +01:00
Thomas Eichinger
d43367e0a2
cpu/stm32f1: fix wrong bit operation in SPI init
2014-11-06 15:09:35 +01:00
Hinnerk van Bruinehsen
9ba980dfd9
cpu: stm32f1 spi: fix typos
2014-10-31 01:24:32 +01:00
Hinnerk van Bruinehsen
aca4724447
lint: fix warnings of possible nullPointer dereferences
2014-10-31 01:24:30 +01:00
Hinnerk van Bruinehsen
2103249815
lint: fix unassignedVariable warnings in stm32f1
2014-10-31 01:24:28 +01:00
Fabian Nack
45b3da9be7
cpu - multiple: adapt spi drivers to interface extension
2014-10-16 17:47:10 +02:00
Hauke Petersen
6ee15ea6df
cpu/stm32f1: cleanup in SPI driver
...
- made config more versatile
- added pin configuration to spi_init()
2014-09-30 11:19:16 +02:00
Hauke Petersen
d7741efa03
cpu/stm32f1: added missing spi function
2014-09-25 14:25:04 +02:00
Joakim Gebart
21fc1bd7a6
cpu/stm32f1: Reduce scope of ret variable in spi_transfer_bytes.
...
Reduced scope to inside the while loop as per comments in RIOT-OS/RIOT#1630
Signed-off-by: Joakim Gebart <joakim@gebart.se>
2014-09-03 10:28:33 +02:00
Joakim Gebart
a12b879027
cpu/stm32f1: spi_transfer_bytes proper counting.
...
The transferred bytes were being counted more than once because of a +=
when calling spi_transfer_byte().
This patch should also handle errors from spi_transfer_byte() better
since it is now possible to detect errors _after_ the first byte has
been successfully sent.
Signed-off-by: Joakim Gebart <joakim@gebart.se>
2014-09-02 17:17:21 +02:00
Thomas Eichinger
0e79a01cd2
stm32f1: SPI: implement speed setting properly
2014-08-21 17:53:38 +02:00
Thomas Eichinger
c28aebf105
at86rf231: handle rx tx state changes correctly
2014-08-21 17:53:38 +02:00
Thomas Eichinger
b6abdc9519
stm32f1: implement SPI register access functions
2014-08-21 17:53:38 +02:00
Thomas Eichinger
aaa2c2e8ba
boards: initial import of iot-lab_M3
2014-08-21 17:53:37 +02:00
Thomas Eichinger
37611db41c
cpu: initial import of stm32f1
2014-08-21 17:53:37 +02:00