4 ms·
> just hide the register bits in a private TU and expose i2c_init(), i2c_write(), etc. That's not a zero cost abstraction, unless these "functions" are actuall
by zozbot234 5y ago
> just hide the register bits in a private TU and expose i2c_init(), i2c_write(), etc.
That's not a zero cost abstraction, unless these "functions" are actually provided in an include file. Embedded programming is often performance sensitive, so this can matter.
- pjmlp 5y agoThey certainly are when LTO and PGO are part of the picture.