Hi
Iam trying to enable the Refclock by disabling the XT1 and XT2. The following is the function i have used for it.

Here Iam having doubt like, if the refclock is enabled and XT1 is disabled. Then the MCU will operate with the 16Mhz which have been enabled by REFO. Is my understanding right? Also XT1 is connected to 32678Hz crystal and XT2 is to connect any crystal between 4-32Mhz. In that case does REFO also connected to the same crystal connected which is connected to XT1 or is that a different crystal. Iam bit confused here. Kindly guide me over this
Regards
Kokila K