> It is very non-modular if it exposes internal data. Tha must be > strictly avoided and prohibited in all cases. >
So you mean exposing STM32_BOARD_XTAL and STM32_SYSCLK_FREQUENCY is OK but exposing board IO port address violates modularity That logic escapes me