Hi Rsbogdan,
The architecture of KSDK1.2 has been changed greatly, about the difference, please refer to SDK1.0 and SDK1.2 release note.
1.
Just like what you have said, the document really don't have ADC16_DRV_EnableHwAverage function in both KSDK1.1.0 and KSDK1.2.0, I think the document have missed it, the document don't have the ADC average function, not only KSD1.1.0, but also 1.2.0.
But you can find the function description from the adc driver headfile.
ADC16_DRV_EnableHwAverage function is in KSDK1.1.0, but it is not in KSDK1.2.0.
ksdk1.2.0 is using ADC16_DRV_ConfigHwAverage for hardware average, you can find it from fsl_adc16_driver.c.
About the incomplete of document, I will tell this problem to our KSDK engineer, they will update it.
2. About the support for RTC_HAL_SetWakeupPinCmd()
I think it is intentional, because don't like KSDK1.1 just support few devices, KSDK1.2 supports more devices, but the wakeup pin is optional and not available on all devices.
To support more devices, so delete this register function.
But if you want to use it, you can use the register control it directly.
Wish it helps you!
Have a great day,
Jingjing
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------