Let’s say I wanted to implement a typical control register in a device where some of the bits are “go” bits that execute commands and hence want to be fairly short duration pulses, while other bits are “mode” bits that stay in one state until changed. The first kind wants to use a TriggerIn, while the second calls for a WireIn. Obviously I could also implement the first kind by using a WireIn and writing the bit first to a 1 then back to a 0, giving me a pulse, but I don’t like that because of the unnecessary overhead.
Can I assign one each WireIn and TriggerIn endpoint to the same address, and for each bit position in my register use ep_dataout(i) or ep_triggerout(i) in my code? That would let me define a single register where each bit can be defined as a pulse or a level. Is it kosher to superimpose two endpoints at the same address?