This commit is contained in:
Jelmer
2022-12-26 22:33:49 +01:00
commit f34586ecae
153 changed files with 19383 additions and 0 deletions

16
ap_fw/soc/zbs243/spi.h Normal file
View File

@@ -0,0 +1,16 @@
#ifndef _SPI_ZBS_H_
#define _SPI_ZBS_H_
#include <stdint.h>
//pre-configured for 4mhz mode 0, but can be changed
#pragma callee_saves spiInit
void spiInit(void);
#pragma callee_saves spiByte
uint8_t spiByte(uint8_t val);
#endif