20 lines
425 B
C
20 lines
425 B
C
/*
|
|
* (c) Copyright 2018 by Coinkite Inc. This file is covered by license found in COPYING-CC.
|
|
*/
|
|
#pragma once
|
|
|
|
// set directions, lock critical ones, etc.
|
|
void gpio_setup(void);
|
|
|
|
// sample the DFU button
|
|
inline bool dfu_button_pressed(void) { return false; }
|
|
|
|
// Pin Names (incomplete)
|
|
|
|
// Port E - GPU stuff mostly
|
|
#define PIN_G_BUSY GPIO_PIN_2
|
|
#define PIN_G_CTRL GPIO_PIN_5
|
|
#define PIN_G_RESET GPIO_PIN_6
|
|
|
|
|