summaryrefslogtreecommitdiff
path: root/src/drivers/DebugPins.h
blob: b30cd2225d6caecf4c970933cf576a6bf50230cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#pragma once

#ifdef __cplusplus
extern "C" {
#endif

#include <stdint.h>

typedef enum {
  DebugPin0 = 27,
  DebugPin1 = 29,
  DebugPin2 = 20,
  DebugPin3 = 17,
  DebugPin4 = 11,
} debugpins_pins;

void debugpins_init();
void debugpins_set(debugpins_pins pin);
void debugpins_clear(debugpins_pins pin);
void debugpins_pulse(debugpins_pins pin);

#ifdef __cplusplus
}
#endif