K22 processor

Committer:
bosko001
Date:
Tue Mar 30 17:05:48 2021 +0200
Revision:
11:f46528c56b8f
Parent:
7:4aa3dac73b66
Child:
12:ea2256d6c725
sredjeni pinovi u pinovi_h

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bosko001 7:4aa3dac73b66 1 #ifndef PINOVI_H
bosko001 7:4aa3dac73b66 2 #define PINOVI_H
bosko001 7:4aa3dac73b66 3
bosko001 7:4aa3dac73b66 4 #define BROADCASTADDRESS 0xc0
bosko001 7:4aa3dac73b66 5
bosko001 7:4aa3dac73b66 6
bosko001 7:4aa3dac73b66 7 #define ZCOUT_TESTPIN PTE24
bosko001 7:4aa3dac73b66 8 #define ZC_PIN PTC12
bosko001 7:4aa3dac73b66 9
bosko001 7:4aa3dac73b66 10 #define IO_TELEGRAM_TAS_PIN PTB20
bosko001 7:4aa3dac73b66 11
bosko001 7:4aa3dac73b66 12 #define IO_TEST PTC18
bosko001 7:4aa3dac73b66 13
bosko001 7:4aa3dac73b66 14 /* gpio pinovi spi komunikacije ili SPI_1*/
bosko001 7:4aa3dac73b66 15
bosko001 7:4aa3dac73b66 16 #define Mosi PTD6
bosko001 7:4aa3dac73b66 17 #define Miso PTD7
bosko001 7:4aa3dac73b66 18 #define SpiClock PTD5
bosko001 7:4aa3dac73b66 19 #define SpiSel PTD4
bosko001 7:4aa3dac73b66 20
bosko001 11:f46528c56b8f 21 #define PIN_OUT_1 PTC10
bosko001 11:f46528c56b8f 22 #define PIN_OUT_2 PTC11
bosko001 11:f46528c56b8f 23 #define PIN_OUT_3 PTB11
bosko001 11:f46528c56b8f 24 #define PIN_OUT_4 PTB10
bosko001 11:f46528c56b8f 25 #define PIN_OUT_5 PTB3
bosko001 11:f46528c56b8f 26 #define PIN_OUT_6 PTB2
bosko001 11:f46528c56b8f 27
bosko001 11:f46528c56b8f 28
bosko001 11:f46528c56b8f 29 #define PIN_IN_6 PTC5
bosko001 11:f46528c56b8f 30 #define PIN_IN_5 PTC7
bosko001 11:f46528c56b8f 31 #define PIN_IN_4 PTC0
bosko001 11:f46528c56b8f 32 #define PIN_IN_3 PTC9
bosko001 11:f46528c56b8f 33 #define PIN_IN_2 PTC8
bosko001 11:f46528c56b8f 34 #define PIN_IN_1 PTC1
bosko001 11:f46528c56b8f 35
bosko001 7:4aa3dac73b66 36 #endif