Revision 3106e8cc modules/NUCLEO-L476RG/module.c
| modules/NUCLEO-L476RG/module.c | ||
|---|---|---|
| 72 | 72 |
* @brief LED output signal GPIO. |
| 73 | 73 |
*/ |
| 74 | 74 |
static apalGpio_t _gpioLed = {
|
| 75 |
/* port */ GPIOA, |
|
| 76 |
/* pad */ GPIOA_LED_GREEN, |
|
| 75 |
/* line */ LINE_LED_GREEN, |
|
| 77 | 76 |
}; |
| 78 | 77 |
ROMCONST apalControlGpio_t moduleGpioLed = {
|
| 79 | 78 |
/* GPIO */ &_gpioLed, |
| ... | ... | |
| 88 | 87 |
* @brief User button input signal GPIO. |
| 89 | 88 |
*/ |
| 90 | 89 |
static apalGpio_t _gpioUserButton = {
|
| 91 |
/* port */ GPIOC, |
|
| 92 |
/* pad */ GPIOC_BUTTON, |
|
| 90 |
/* line */ LINE_BUTTON, |
|
| 93 | 91 |
}; |
| 94 | 92 |
ROMCONST apalControlGpio_t moduleGpioUserButton = {
|
| 95 | 93 |
/* GPIO */ &_gpioUserButton, |
Also available in: Unified diff