myhw.h

来自「at91的一个bootloader」· C头文件 代码 · 共 15 行

H
15
字号

// This file should contain #defines specific to your hardware. I need
// to know:

// The location of a GPIO pin wired to an LED, with the LED wired to the
// pin's anode (so that HIGH means that the LED is on).
#define GPIO_LED            0

// The location of a GPIO pin wired through a 1.5k resistor to DP (D+,
// whatever you want to call it; USB line). I can disconnect the pull-up
// that indicates that something is connected to the port by tri-stating
// that line, or connect it by driving that line HIGH.
#define GPIO_USB_PU         1

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?