Hello DaveTonyCook,
The function for ADC16_HAL_GetChnMuxMode() is not documented in API RM but in fsl_adc16_hal.h for KSDK 1.1.
API Reference Manual is generated by Doxygen, Doxygen parsing all driver files, decoding doxygen tags inside drivers and generate the API Reference Manual.
ADC16_HAL_GetChnMuxMode() selects channel mux mode for ADC16 module - if is the MUX set for ADC and if not, it is set.
- @brief Gets the current channel mux mode for the ADC16 module.
- @param baseAddr Register base address for the module.
- @return Selection of mode enumeration. See to "adc16_chn_mux_mode_t".
static inline adc16_chn_mux_mode_t ADC16_HAL_GetChnMuxMode(uint32_t baseAddr)
{
return (adc16_chn_mux_mode_t)(BR_ADC_CFG2_MUXSEL(baseAddr) );
}
I hope it helps you,
Iva