Added all Ports + Inputs

master
Max Brüggemann 4 years ago
parent 8e260f0247
commit 32fca4ba84

File diff suppressed because it is too large Load Diff

@ -1,9 +1,16 @@
extern uint32_t outStates;
extern volatile uint32_t outStates;
extern volatile uint32_t inStates;
void setOuts(void);
void readPins(void);
void ioConf(void);
// hier definieren weclher pin auf welchem Bit liegen soll
//Outputs
//Pin | Bit in outStates
#define BitPB0 13
#define BitPB1 12
//Inputs
//Pin | Bit in inStates
#define BitPinC1 0
#define BitPinC5 1

@ -7,6 +7,7 @@ outStates=0xFFFFFFFF;
while(1) {
setOuts();
readPins();
}
}

Loading…
Cancel
Save