Not sure about the original author but for me I just use the IOC to keep track of how I want the clocks and pinouts so I don't have to look at my schematic as much. The code the IOC thing generates is awful in my opinion and I barely use the HAL lib ...