Hello, and welcome to the forum.
You do not mention your reason for wishing to use the function generator?
The main issue will be to provide sufficient protection of the EXTAL input pin from excessive voltage swings from the generator. You will also need to consider the possibility of static discharge into the pin, and its suppression. To prevent damage to the MCU, this may require additional buffering and protection circuitry. This becomes even more important if the function generator has a variable outpur level, or is capable of negative output swings using front panel controls.
Yet another issue may be the possibility of front panel frequency adjustment, accidental or otherwise, causing the maximum allowable bus frequency to be exceeded.
If you do not wish to use the internal reference, or an external crystal reference, a much safer alternative would be to use a packaged oscillator that provides a CMOS compatible output, permanently connected to the EXTAL pin.
On the basis that you have considered these protection issues, you will need to decide the frequency range to be used - low range 32-38.4kHz, or high range 1-5MHz. You will also need to decide the operating mode for the ICS module, FEE, FBE or FBELP. Further information about these issues may be obtained from the device datasheet, Chapter 10: Internal clock source, and also Appendix A.8. The setup for the various ICS control register is also described wthin Chapter 10.
You might also download Application Note AN3499 "Clock options on the HC9S08 family".
Regards,
Mac