High Speed Magnetic Rotary Encoder with 8-bit Resolution, Multi-Turn Counter, and Diagnostic Features