Can't enable port B & D clocks
I tried the following code in a STM32F107:
RCC->AHBENR = RCC->AHBENR | RCC_APB2ENR_IOPBEN_Msk| RCC_APB2ENR_IOPDEN_Msk;
and
RCC->AHBENR = RCC->AHBENR | 0x00000008 | 0x00000020;
When I display RCC->AHBENR, it always shows 0001C014.
I expected to see 0x0001C03C.
I found this because Ethernet never finished resetting.
