Oscillator modes of 18lf4520
I am using PIC18lf4520 controller. Here I am using internal oscillator mode with OSC1 as RA7( IO) and OSC2 as CLK/4 output.
Also using sleep instruction in the code to save power. In data sheet it is written that in sleep mode the OSC1 pin will be floating and pull up is required. My query is if it is configured as RA7 IO (PORTA ,7) then if I clear TRISA and put RA7 as zero then how it can be floating?
Thanks in advance