== TLU TTL I/O Control == * [[SDB Device ID]] 0xefa5e8d1 * Hardware: [[TLU40LVDS]], [[TLU16SFP]] * [[TLU40LVDS Register Map|TLU40LVDS registers]], [[TLU16SFP Register Map|TLU16SFP registers]] === Registers === * 00h - '''Identification''' ''efa5e8d1'', 32 bits, RO static * 04h - '''Number of channels''', RO static Other registers: (Reg #+10h) = TTL I/O #, R/W . [14:0] - input or output selector . [15] - output enable: 1 - output, 0 - input Selector decode for inputs . 0 - trigger . 1 - veto . 2 - ltr[0] . 3 - ltr[1] . 4 - ltr[2] . 5 - ltr[3] Selector decode for outputs . 0 - accepted trigger . 1 - rejected trigger . 2 - busy . 3 - TOF detector trigger . 4 - luminosity detector trigger . 5 - pulse per second (WR or Fe-Link) . 6 - logic 0 . 7 - logic 1 For example: * if * ''address'' = 0x11 * ''data'' = 0x8004 * then * ttl[1] - output ''luminosity detector trigger'' ---- [[CategorySDB|SDB]] [[CategoryTLU|TLU]]