bosko lekovic
/
IO_spi
IO spi
Diff: Pinovi.h
- Revision:
- 7:4aa3dac73b66
diff -r 12b2660d7dff -r 4aa3dac73b66 Pinovi.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Pinovi.h Sun Mar 21 18:20:15 2021 +0100 @@ -0,0 +1,21 @@ +#ifndef PINOVI_H +#define PINOVI_H + +#define BROADCASTADDRESS 0xc0 + + +#define ZCOUT_TESTPIN PTE24 +#define ZC_PIN PTC12 + +#define IO_TELEGRAM_TAS_PIN PTB20 + +#define IO_TEST PTC18 + +/* gpio pinovi spi komunikacije ili SPI_1*/ + +#define Mosi PTD6 +#define Miso PTD7 +#define SpiClock PTD5 +#define SpiSel PTD4 + +#endif