This commit is contained in:
Maxime Desroches 2024-09-20 18:10:02 -07:00
parent ab260a3849
commit 80e3033e73
1 changed files with 4 additions and 1 deletions

View File

@ -7,7 +7,10 @@
#define PULL_UP 1
#define PULL_DOWN 2
#define OUTPUT_TYPE_OPEN_DRAIN 1U
enum {
OUTPUT_TYPE_PUSH_PULL = 0U,
OUTPUT_TYPE_OPEN_DRAIN = 1U,
};
typedef struct {
GPIO_TypeDef * const bank;