[riot-notifications] [RIOT-OS/RIOT] cpu/stm32l1: optimize power consumption (#11359)
notifications at github.com
Fri Apr 12 14:14:01 CEST 2019
fjmolinas commented on this pull request.
> @@ -49,6 +50,44 @@ void cpu_init(void)
/* initialize the system clock as configured in the periph_conf.h */
+ uint32_t ahb_gpio_clocks;
+ GPIO_TypeDef *port;
+ /* enable GPIO clock and save GPIO clock configuration */
+ ahb_gpio_clocks = RCC->AHBENR & 0xFF;
There is not definition in the cmsis header file, I also checked the newer versions and there isn't one.
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...
More information about the notifications