I'm not able to activate the led (green, LD2, PA5) in stepping mode. But the corrosponding register shows that it is activated.
RCC->AHB1ENR |= RCC_AHB1Periph_GPIOA;
GPIOA->MODER |= GPIO_Mode_OUT;
GPIOA->OSPEEDR |= GPIO_Speed_25MHz;
GPIOA->OTYPER |= GPIO_OType_PP;
GPIOA->PUPDR |= GPIO_PuPd_NOPULL;
GPIOA->BSRRL = GPIO_Pin_5;
GPIOA->BSRRH = GPIO_Pin_5;
What is wrong?