add headerguards
This commit is contained in:
@@ -1,5 +1,12 @@
|
|||||||
|
#ifndef _IO_HELPER_
|
||||||
|
#define _IO_HELPER_
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
extern volatile uint8_t outStates[4];
|
extern volatile uint8_t outStates[4];
|
||||||
extern volatile uint8_t inStates[4];
|
extern volatile uint8_t inStates[4];
|
||||||
|
extern volatile uint8_t ioHelperDebounceTable[32];
|
||||||
|
|
||||||
void ioHelperSetOuts(void);
|
void ioHelperSetOuts(void);
|
||||||
void ioHelperReadPins(void);
|
void ioHelperReadPins(void);
|
||||||
void ioHelperIoConf(void);
|
void ioHelperIoConf(void);
|
||||||
@@ -17,3 +24,5 @@ void ioHelperDebounce(void);
|
|||||||
//Pin | Bit in inStates
|
//Pin | Bit in inStates
|
||||||
#define BitPinC1 0
|
#define BitPinC1 0
|
||||||
#define BitPinC5 1
|
#define BitPinC5 1
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user