Encoder interface