[riot-notifications] [RIOT-OS/RIOT] cpu/stm32: optimize stop mode for stm32f* (#11758)

Alexandre Abadie notifications at github.com
Tue Jul 2 12:20:29 CEST 2019

aabadie commented on this pull request.

> +#define GPIO_CLK_ENR_MASK     (0x0000FFFF)
+#elif defined(CPU_FAM_STM32F1)
+#define GPIO_CLK              (APB2)
+#define GPIO_CLK_ENR          (RCC->APB2ENR)
+#define GPIO_CLK_ENR_MASK     (0x000001FC)
+ * @brief   Initialize gpio to AIN
+ *
+ * stm32f need to have all there pins initialized to AIN so the consumption
+ * of the input Schmitt trigger is saved when running in STOP mode.
+ *
+ * @see https://comm.eefocus.com/media/download/index/id-1013834
+ */
+void _gpio_init_ain(void)

This can be made `static inline`

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190702/b452a3b5/attachment.html>

More information about the notifications mailing list