Revision 3106e8cc modules/NUCLEO-F401RE/module.c
modules/NUCLEO-F401RE/module.c | ||
---|---|---|
62 | 62 |
* @brief LED output signal GPIO. |
63 | 63 |
*/ |
64 | 64 |
static apalGpio_t _gpioLed = { |
65 |
/* port */ GPIOA, |
|
66 |
/* pad */ GPIOA_LED_GREEN, |
|
65 |
/* line */ LINE_LED_GREEN, |
|
67 | 66 |
}; |
68 | 67 |
ROMCONST apalControlGpio_t moduleGpioLed = { |
69 | 68 |
/* GPIO */ &_gpioLed, |
... | ... | |
78 | 77 |
* @brief User button input signal GPIO. |
79 | 78 |
*/ |
80 | 79 |
static apalGpio_t _gpioUserButton = { |
81 |
/* port */ GPIOC, |
|
82 |
/* pad */ GPIOC_BUTTON, |
|
80 |
/* line */ LINE_BUTTON, |
|
83 | 81 |
}; |
84 | 82 |
ROMCONST apalControlGpio_t moduleGpioUserButton = { |
85 | 83 |
/* GPIO */ &_gpioUserButton, |
Also available in: Unified diff