Initial commit - sync AliceRC to Gitea

This commit is contained in:
2026-08-03 15:54:25 +08:00
commit 493b7d81d7
1510 changed files with 185319 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
/**
* @file spi.h
* @brief 硬件 SPI 驱动 - 用于 NRF24L01 通信
* SPI 引脚:P1.5 (SCK), P1.3 (MOSI), P1.4 (MISO)
*/
#ifndef __SPI_H
#define __SPI_H
#include "stc8h.h"
#include <stdint.h>
void spi_init(void);
uint8_t spi_transfer(uint8_t data);
#endif