can i set RefMux which is available in global resource by any API in code??
You can lookup the ARF_CR register in the Technical Reference manual for PSoC1. Bits5[:3] of this register is used to select the values for the reference mux.
You can find this information on pages 406 and 407.
Retrieving data ...