mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 04:06:29 +01:00
fresh
This commit is contained in:
16
ap_fw/soc/zbs243/spi.h
Normal file
16
ap_fw/soc/zbs243/spi.h
Normal 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
|
||||
Reference in New Issue
Block a user