mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-21 21:58:05 -06:00
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:
parent
0af89e4766
commit
4a35f927fc
5 changed files with 103 additions and 4 deletions
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
|
Loading…
Add table
Add a link
Reference in a new issue