Is there a way to have software running on the PSOC generate a signal that can be fed into the digital logic section of the chip? How would I implement such a thing? I know that some APIs for the certain functions (PWMs, counters etc) give software access to those controls but what about simple logic such as logic gate inputs, flip flop inputs etc.