/****************************************************************************** * File: HAL_COM_priv.h * Component: HAL_COM * Description: Private header for the HAL_COM abstraction. * Contains the extern declaration of the channel config array * (only accessed internally by _prg.c) and any other private * definitions. * * Layer: HAL - internal use only *****************************************************************************/ #ifndef HAL_COM_PRIV_H #define HAL_COM_PRIV_H #include "HAL_COM.h" #include "HAL_COM_cfg.h" /* ------------------------------------------------------------------------ */ /* CONFIG ARRAY (EXTERN) */ /* ------------------------------------------------------------------------ */ /** * @brief Channel configuration array indexed by HAL_COM_tenuChannel. * * Defined in HAL_COM_cfg.c. Each entry holds function pointers to an * MCU-level driver's send functions + the instance index to pass through. * Only HAL_COM_prg.c accesses this — no external component should read * the raw config. */ extern const HAL_COM_tstrChannelConfig HAL_COM_astrChannelConfig[HAL_COM_NUM_CHANNELS]; #endif /* HAL_COM_PRIV_H */