Added all Ports + Inputs
This commit is contained in:
1637
io-helper.c
1637
io-helper.c
File diff suppressed because it is too large
Load Diff
13
io-helper.h
13
io-helper.h
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user