AnsweredAssumed Answered

BSRR - F4 vs F3

Question asked by xavier.jose on Sep 6, 2013
Latest reply on Sep 6, 2013 by xavier.jose
Hi,
I'm porting a code from F4 to F3 and one of the erros I'm getting is:
stm32f_stpdrv.c: In function 'TIM3_IRQHandler':
stm32f_stpdrv.c:192:20: error: 'GPIO_TypeDef' has no member named 'BSRRH'
stm32f_stpdrv.c:197:20: error: 'GPIO_TypeDef' has no member named 'BSRRL'
stm32f_stpdrv.c:213:20: error: 'GPIO_TypeDef' has no member named 'BSRRH'
stm32f_stpdrv.c:215:20: error: 'GPIO_TypeDef' has no member named 'BSRRL'
stm32f_stpdrv.c: In function '__MotorSetDir':
stm32f_stpdrv.c:346:19: error: 'GPIO_TypeDef' has no member named 'BSRRH'
stm32f_stpdrv.c:348:19: error: 'GPIO_TypeDef' has no member named 'BSRRH'
stm32f_stpdrv.c:351:19: error: 'GPIO_TypeDef' has no member named 'BSRRL'
stm32f_stpdrv.c:353:19: error: 'GPIO_TypeDef' has no member named 'BSRRL'

Is it because F4 has more GPIO Ports so need a bigger BSRR register?

Thanks

Outcomes