initial_pins: Add ability to configure output pins at mcu startup
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
15
src/initial_pins.h
Normal file
15
src/initial_pins.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef __INITIAl_PINS_H
|
||||
#define __INITIAl_PINS_H
|
||||
|
||||
struct initial_pin_s {
|
||||
int pin;
|
||||
uint8_t flags;
|
||||
};
|
||||
|
||||
enum { IP_OUT_HIGH = 1 };
|
||||
|
||||
// out/compile_time_request.c (auto generated file)
|
||||
extern const struct initial_pin_s initial_pins[];
|
||||
extern const int initial_pins_size;
|
||||
|
||||
#endif // initial_pins.h
|
||||
Reference in New Issue
Block a user