undocumented ADC_HAL_GetChnMuxMode

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

undocumented ADC_HAL_GetChnMuxMode

1,401 次查看
DaveTonyCook
Contributor IV

Hi,

 

Why is ADC_HAL_GetChnMuxMode() undocumented ? All versions.  What else slipped through the net?

 

Any insights would be welcome

 

Thanks

标签 (1)
0 项奖励
回复
5 回复数

1,205 次查看
ivadorazinova
NXP Employee
NXP Employee

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

0 项奖励
回复

1,205 次查看
DaveTonyCook
Contributor IV

Hi,

Do you or anyone at Freescale know why the ADC driver layer was change?

Can anyone tell me what the reason for the change was?

Are there any bugs with the v1.0.0 ADC driver that I should be aware of?

If you do not know the answer please say so.

Thanks

0 项奖励
回复

1,205 次查看
ivadorazinova
NXP Employee
NXP Employee

Hello DaveTonyCook,

I apologize for my late response, I was out of my office.

Yes, there are some changes because there is actually support of more devices and there is needed make unified layer (HAL) over them.

Actually there is actually no known ADC issues.

Best Regards,

Iva

0 项奖励
回复

1,205 次查看
DaveTonyCook
Contributor IV

How about internal bug report. Can I have a copy?

0 项奖励
回复

1,204 次查看
ivadorazinova
NXP Employee
NXP Employee

Hello DaveTonyCook,

unfortunately it is not possible.

Have a nice day!

Iva

0 项奖励
回复