Revision 3106e8cc modules/STM32F407G-DISC1/module.c

View differences:

modules/STM32F407G-DISC1/module.c
62 62
 * @brief   Red LED output signal GPIO.
63 63
 */
64 64
static apalGpio_t _gpioLedRed = {
65
  /* port */ GPIOD,
66
  /* pad  */ GPIOD_LED5,
65
  /* line */ LINE_LED5,
67 66
};
68 67
ROMCONST apalControlGpio_t moduleGpioLedRed = {
69 68
  /* GPIO */ &_gpioLedRed,
......
78 77
 * @brief   Green LED output signal GPIO.
79 78
 */
80 79
static apalGpio_t _gpioLedGreen = {
81
  /* port */ GPIOD,
82
  /* pad  */ GPIOD_LED4,
80
  /* line */ LINE_LED4,
83 81
};
84 82
ROMCONST apalControlGpio_t moduleGpioLedGreen = {
85 83
  /* GPIO */ &_gpioLedGreen,
......
94 92
 * @brief   Blue LED output signal GPIO.
95 93
 */
96 94
static apalGpio_t _gpioLedBlue = {
97
  /* port */ GPIOD,
98
  /* pad  */ GPIOD_LED6,
95
  /* line */ LINE_LED6,
99 96
};
100 97
ROMCONST apalControlGpio_t moduleGpioLedBlue = {
101 98
  /* GPIO */ &_gpioLedBlue,
......
110 107
 * @brief   Orange LED output signal GPIO.
111 108
 */
112 109
static apalGpio_t _gpioLedOrange = {
113
  /* port */ GPIOD,
114
  /* pad  */ GPIOD_LED3,
110
  /* line */ LINE_LED3,
115 111
};
116 112
ROMCONST apalControlGpio_t moduleGpioLedOrange = {
117 113
  /* GPIO */ &_gpioLedOrange,
......
126 122
 * @brief   User button input signal GPIO.
127 123
 */
128 124
static apalGpio_t _gpioUserButton = {
129
  /* port */ GPIOA,
130
  /* pad  */ GPIOA_BUTTON,
125
  /* line */ LINE_BUTTON,
131 126
};
132 127
ROMCONST apalControlGpio_t moduleGpioUserButton = {
133 128
  /* GPIO */ &_gpioUserButton,

Also available in: Unified diff