UoS³ Flight Computer Firmware
 All Data Structures Files Functions Groups Pages
spi.c
Go to the documentation of this file.
1 
11 #include "../spi.h"
12 
15 uint8_t SPI_cmd(uint8_t spi_num, uint8_t cmd)
16 {
17  (void) spi_num;
18  (void) cmd;
19 
20  return 0;
21 }
22 
23 uint8_t SPI_read8(uint8_t spi_num, uint8_t addr, uint8_t *data)
24 {
25  (void) spi_num;
26  (void) addr;
27  (void) data;
28 
29  return 0;
30 }
31 
32 uint8_t SPI_burstread8(uint8_t spi_num, uint8_t addr, uint8_t *data, uint32_t len)
33 {
34  (void) spi_num;
35  (void) addr;
36  (void) data;
37  (void) len;
38 
39  return 0;
40 }
41 
42 uint8_t SPI_write8(uint8_t spi_num, uint8_t addr, uint8_t *data)
43 {
44  (void) spi_num;
45  (void) addr;
46  (void) data;
47 
48  return 0;
49 }
50 
51 uint8_t SPI_burstwrite8(uint8_t spi_num, uint8_t addr, uint8_t *data, uint32_t len)
52 {
53  (void) spi_num;
54  (void) addr;
55  (void) data;
56  (void) len;
57 
58  return 0;
59 }
60 
61 uint8_t SPI_read16(uint8_t spi_num, uint16_t addr, uint8_t *data)
62 {
63  (void) spi_num;
64  (void) addr;
65  (void) data;
66 
67  return 0;
68 }
69 
70 uint8_t SPI_burstread16(uint8_t spi_num, uint16_t addr, uint8_t *data, uint32_t len)
71 {
72  (void) spi_num;
73  (void) addr;
74  (void) data;
75  (void) len;
76 
77  return 0;
78 }
79 
80 uint8_t SPI_write16(uint8_t spi_num, uint16_t addr, uint8_t *data)
81 {
82  (void) spi_num;
83  (void) addr;
84  (void) data;
85 
86  return 0;
87 }
88 
89 uint8_t SPI_burstwrite16(uint8_t spi_num, uint16_t addr, uint8_t *data, uint32_t len)
90 {
91  (void) spi_num;
92  (void) addr;
93  (void) data;
94  (void) len;
95 
96  return 0;
97 }
98 
99 uint8_t SPI_read32(uint8_t spi_num, uint32_t addr, uint8_t *data)
100 {
101  (void) spi_num;
102  (void) addr;
103  (void) data;
104 
105  return 0;
106 }
107 
108 uint8_t SPI_burstread32(uint8_t spi_num, uint32_t addr, uint8_t *data, uint32_t len)
109 {
110  (void) spi_num;
111  (void) addr;
112  (void) data;
113  (void) len;
114 
115  return 0;
116 }
117 
118 uint8_t SPI_write32(uint8_t spi_num, uint32_t addr, uint8_t *data)
119 {
120  (void) spi_num;
121  (void) addr;
122  (void) data;
123 
124  return 0;
125 }
126 
127 uint8_t SPI_burstwrite32(uint8_t spi_num, uint32_t addr, uint8_t *data, uint32_t len)
128 {
129  (void) spi_num;
130  (void) addr;
131  (void) data;
132  (void) len;
133 
134  return 0;
135 }
136 
uint8_t SPI_write32(uint8_t spi_num, uint32_t addr, uint8_t *data)
Definition: spi.c:118
uint8_t SPI_burstread8(uint8_t spi_num, uint8_t addr, uint8_t *data, uint32_t len)
Definition: spi.c:32
uint8_t SPI_burstread32(uint8_t spi_num, uint32_t addr, uint8_t *data, uint32_t len)
Definition: spi.c:108
uint8_t SPI_burstwrite8(uint8_t spi_num, uint8_t addr, uint8_t *data, uint32_t len)
Definition: spi.c:51
uint8_t SPI_read32(uint8_t spi_num, uint32_t addr, uint8_t *data)
Definition: spi.c:99
uint8_t SPI_burstread16(uint8_t spi_num, uint16_t addr, uint8_t *data, uint32_t len)
Definition: spi.c:70
uint8_t SPI_cmd(uint8_t spi_num, uint8_t cmd)
Definition: spi.c:15
uint8_t SPI_write8(uint8_t spi_num, uint8_t addr, uint8_t *data)
Definition: spi.c:42
uint8_t SPI_burstwrite16(uint8_t spi_num, uint16_t addr, uint8_t *data, uint32_t len)
Definition: spi.c:89
uint8_t SPI_write16(uint8_t spi_num, uint16_t addr, uint8_t *data)
Definition: spi.c:80
uint8_t SPI_read8(uint8_t spi_num, uint8_t addr, uint8_t *data)
Definition: spi.c:23
uint8_t SPI_read16(uint8_t spi_num, uint16_t addr, uint8_t *data)
Definition: spi.c:61
uint8_t SPI_burstwrite32(uint8_t spi_num, uint32_t addr, uint8_t *data, uint32_t len)
Definition: spi.c:127