Commit Graph

8 Commits

Author SHA1 Message Date
cb1b240d8b stm32: fix spi/write 2021-04-24 17:10:51 -05:00
1fef2d08fb stm32: use interrupt for spi transmit 2021-04-24 13:07:28 -05:00
9586365b07 Pass config directly to chip specific configure function
This removes the need to duplicate the configuration for each individual
chip, but will instead pass on the configuration specified in the config
attribute.

Update nrf, stm32, rp macros with passing the config to a per-chip
configure function which assumes the appropriate configuration to be
passed to it.

To demonstrate this feature, the stm32l0xx clock setup and RTC is added which exposes
clock configuration different from stm32f4xx (and has a different set of timers and HAL APIs).
2021-04-22 09:10:46 +02:00
c15411d1bd Remove Pin from SPI 2021-04-14 17:04:40 +02:00
59ccc45f28 Remove pin from Uart 2021-04-14 17:04:40 +02:00
8e040cc5d2 stm32: add draft spi trait (#130) 2021-04-13 16:11:06 -05:00
6f0fb6cab1 remove qei trait 2021-04-02 13:52:31 -05:00
009e1896bf stm32: consolidate crates 2021-03-30 10:05:52 -05:00