AnsweredAssumed Answered

STM32CubeMX - Where did GPIO 16-bit port access functions go?

Question asked by adlam.frank on Jul 17, 2014
Latest reply on Jul 21, 2014 by Montassar BEN ROMDHANE
Hi


Migrating from STM32F4-Discovery_FW_V1.1.0 to STM32Cube_FW_F4_V1.3.0 firmware creates some difficulties with regards to GPIO port access.  The functions below are not available anymore or did I miss something?  Port bit access and manipulation are well supported.


GPIO_ReadInputData()
GPIO_ReadOutputData()
GPIO_Write()


GPIOx->IDR and GPIOx->ODR can be used to access the ports and write your own port access functions.


A lot of code reworking is now necessary to convert old code to the HAL based firmware.  I do support the new HAL based firmware as it is a step in the right direction.  STM32CubeMX developers seems to just omit functions available in older firmware with no communication or explanation in this regard.  


Is there somebody at ST whom can shed any light on this subject?  


Thanks

Outcomes