We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6017125 + 0cd6ca6 commit 3521bd3Copy full SHA for 3521bd3
libraries/mbed/targets/hal/TARGET_STM/TARGET_DISCO_F407VG/pinmap.c
@@ -68,10 +68,26 @@ uint32_t Set_GPIO_Clock(uint32_t port_idx) {
68
gpio_add = GPIOD_BASE;
69
__GPIOD_CLK_ENABLE();
70
break;
71
+ case PortE:
72
+ gpio_add = GPIOE_BASE;
73
+ __GPIOE_CLK_ENABLE();
74
+ break;
75
+ case PortF:
76
+ gpio_add = GPIOF_BASE;
77
+ __GPIOF_CLK_ENABLE();
78
79
+ case PortG:
80
+ gpio_add = GPIOG_BASE;
81
+ __GPIOG_CLK_ENABLE();
82
83
case PortH:
84
gpio_add = GPIOH_BASE;
85
__GPIOH_CLK_ENABLE();
86
87
+ case PortI:
88
+ gpio_add = GPIOI_BASE;
89
+ __GPIOI_CLK_ENABLE();
90
91
default:
92
error("Pinmap error: wrong port number.");
93
0 commit comments