This commit is contained in:
JiXieShi
2024-09-21 16:07:31 +08:00
parent 4e53f936d8
commit d2e5789476
27 changed files with 129 additions and 67 deletions

View File

@@ -4,5 +4,6 @@
#ifndef HW_LIB_T_SPI_H
#define HW_LIB_T_SPI_H
void Test_spi();
void Test_spi(void *pVoid);
#endif //HW_LIB_T_SPI_H

View File

@@ -32,7 +32,7 @@ uint8_t Miso_Pin() {
return l;
}
void Test_spi() {
void Test_spi(void *pVoid) {
SW_Dev_Spi ltl = {
.MOSI_SET=Mosi_Pin,
.SCK_SET=Sck_Pin,
@@ -59,4 +59,4 @@ void Test_spi() {
SW_SPI_RWL16(ltl, rbuf16, tbuf16, 64);
BufPrint("<SPI> TX[16]", tbuf16, TYPE_T(tbuf16), 64, 16);
BufPrint("<SPI> RX[16]", rbuf16, TYPE_T(rbuf16), 64, 16);
}
}