AnsweredAssumed Answered

GPIO Sest-Change doesnt get reflected in BSRR

Question asked by sd.pranathi on Nov 7, 2012
Latest reply on Nov 8, 2012 by sd.pranathi
Hello All,

I am using STM32F2 series.
I want to set PORT E pin 1, And here goes my code
GPIO_InitTypeDef *GPIO_InitStruct;
 RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOE, ENABLE);
 GPIO_InitStruct->GPIO_Pin = GPIO_Pin_1 ; 
    GPIO_InitStruct->GPIO_Mode = GPIO_Mode_OUT;
    GPIO_InitStruct->GPIO_OType = GPIO_OType_PP;
    GPIO_InitStruct->GPIO_Speed = GPIO_Speed_50MHz;
    GPIO_InitStruct->GPIO_PuPd = GPIO_PuPd_NOPULL;
    GPIO_Init(GPIOE, GPIO_InitStruct);   
 GPIO_WriteBit(GPIOE,GPIO_Pin_1,Bit_SET);
 GPIO_SetBits(GPIOE,GPIO_Pin_1);
When I debug the code, i could not find any changes in BSRR , even if i set this.
Could anyone help in resolving this

Thanks

Outcomes