I'm using ECAP1 to measure the period of an external signal and it works fine. But I also want to read the raw input without switching the pin mux to GPIO (GPIO0_6). The GPIO DATAIN register doesn't show the value unless I switch to GPIO mode. How can I do this without wasting another pin?