mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-12 01:08:00 -06:00
spi_software: Implementation of software spi
Signed-off-by: Matt Janus <FragginRight@variabl.es> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
090cd930d9
commit
98ed462865
6 changed files with 200 additions and 20 deletions
11
src/spi_software.h
Normal file
11
src/spi_software.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
#ifndef __SPI_SOFTWARE_H
|
||||
#define __SPI_SOFTWARE_H
|
||||
|
||||
#include <stdint.h> // uint8_t
|
||||
|
||||
struct spi_software *spi_software_oid_lookup(uint8_t oid);
|
||||
void spi_software_prepare(struct spi_software *ss);
|
||||
void spi_software_transfer(struct spi_software *ss, uint8_t receive_data
|
||||
, uint8_t len, uint8_t *data);
|
||||
|
||||
#endif // spi_software.h
|
Loading…
Add table
Add a link
Reference in a new issue