mirror of
https://github.com/dimoniche/changer.git
synced 2026-01-30 09:13:31 +03:00
15 lines
377 B
C
15 lines
377 B
C
#ifndef __SPI_H__
|
|
#define __SPI_H__
|
|
|
|
// íîìåð spi äëÿ fram
|
|
#define FM25_SPI 0
|
|
|
|
extern unsigned char spi_unselectChip(unsigned char spi);
|
|
extern unsigned char spi_selectChip(unsigned char spi);
|
|
extern void SpiInit(void);
|
|
extern unsigned char SpiExchange(unsigned char spi, unsigned char ch);
|
|
extern void spi_getSem();
|
|
extern void spi_freeSem();
|
|
|
|
|
|
#endif //#ifndef __SPI_H__
|