how to use multiple function of a I/O pin of the micro controller. ie; normally some of the pins of the micro controller will be multiplexed together, for eg; I2C and SPI clocks will be multiplexed in a single pin. how to use the same pin for different fuctions. Is it possible to do this job in software or we have to add any external hardware for this purpous.