3 ms·
I have a feeling writing is that way is mostly habit because you often end up with init routines where the device barfs during init for various reasons[1] and y
by Gibbon1 10y ago
I have a feeling writing is that way is mostly habit because you often end up with init routines where the device barfs during init for various reasons[1] and you need to execute 'plan b'. That said I'd consider using macro's to be a distant third option.
[1] Classic is the uP resets and re-runs the init code on I2C bus peripherals that have already been configured.