Commit Graph

12 Commits

Author SHA1 Message Date
dba08fed7a
refactor task IF 2022-05-14 09:40:31 +02:00
56e4fca06f
Some improvements
- Rename mutex to csMutex to better represent its purpose
- Move the empty transfer to update the line polarity to separate function
2022-05-11 11:24:06 +02:00
e06c457743
Cache SPI device name in ComIF
- Architecturally, this makes a lot more sense because
  each ComIF should be responsible for one SPI bus
2022-05-11 11:11:39 +02:00
29c3a43760
getter functions for speed and mode 2022-05-11 10:54:13 +02:00
32f420c4f0
SPI HAL improvement
- Initialize line state
2022-03-07 16:13:04 +01:00
ddcac2bbac
reapply clang format 2022-02-02 10:29:30 +01:00
bfae25ff2d
Updates for SPI
1. Better names for functions
2. Reply size is set to 0
2021-09-23 18:06:04 +02:00
98e3ed897c
small tweak 2021-08-19 17:17:19 +02:00
b6aebb3061
format adapted 2021-08-19 17:08:35 +02:00
90a1571707
Linux HAL updates
1. The type correction was merged as part of
   #7 in the
   EIVE project. Quotation of PR

definition of getSpiParameters is `void getSpiParameters(spi::SpiModes& spiMode, uint32_t& spiSpeed, UncommonParameters* parameters = nullptr) const;`.

Here, size_t spiSpeed is passed, which implicitely gets converted to a temporary, which can not be bound to uint32_t& and, at least in gcc 9.3.0, leads to a compiler error.

2. Allow flushing the UART buffers
2021-08-06 11:23:31 +02:00
c3fbe04fc6
all include corrections 2021-08-02 20:58:56 +02:00
f1f167c2d1
using _ instead of - now 2021-08-02 20:55:03 +02:00