The realisation of some functions managing EF200 you can find at https://github.com/eddyem/stm32samples/tree/master/canon_lens