4 ms·
Problem is that some registers have non-zero default values (swd debug pin functions for example) so the set() function would still need to do a read modify wri
by jackieooh 3y ago
Problem is that some registers have non-zero default values (swd debug pin functions for example) so the set() function would still need to do a read modify write operation which isn't the theoretically optimal code gen.
- yakubin 3y agoThen it’s a question of annotating this function with ALWAYS_INLINE and letting the compiler optimise it.