diff --git a/hal__gpio_8h_source.html b/hal__gpio_8h_source.html index b86fb6c..746aaea 100644 --- a/hal__gpio_8h_source.html +++ b/hal__gpio_8h_source.html @@ -179,7 +179,7 @@
98 \
99 static inline void HAL_GPIO_##name##_off(void) \
100 { \
-
101 PORT->Group[HAL_GPIO_PORT##port].DIRSET.reg = (1 << pin); \
+
101 PORT->Group[HAL_GPIO_PORT##port].DIRCLR.reg = (1 << pin); \
102 PORT->Group[HAL_GPIO_PORT##port].PINCFG[pin].reg &= ~(PORT_PINCFG_PULLEN | PORT_PINCFG_INEN); \
103 (void)HAL_GPIO_##name##_off; \
104 } \