I'm working with a custom IC which has an SPI interface. However, other inputs on this IC are also clocked using the same clock input as the SPI interface
So in short, I need to be able to use this clock pin as an SPI clock and also be able to reconfigure this into a continuous clock without modifying any other digital IO.
I'll experiment a bit further with the suggestions you're giving.