mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Cherry-picked #3321 (Preset CS lines for SPI devices initial high)
This commit is contained in:
parent
1f262d4446
commit
0c803f23d2
14 changed files with 115 additions and 7 deletions
|
@ -79,6 +79,7 @@ typedef enum SPIDevice {
|
|||
#define SPIDEV_COUNT 4
|
||||
#endif
|
||||
|
||||
void spiPreInitCs(ioTag_t iotag);
|
||||
bool spiInit(SPIDevice device);
|
||||
void spiSetDivisor(SPI_TypeDef *instance, uint16_t divisor);
|
||||
uint8_t spiTransferByte(SPI_TypeDef *instance, uint8_t in);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue