AS5030-AB-2.0

How do you program a AS5030-AB-2.0 magnetic rotary encoder? what class do you use?

May I ask: What are you using it for?

speed sensor

You don’t want to use the AS5030 absolute position encoder as a speed sensor, unless the speed you are trying to measure (in rev/sec) is less than half the code execution frequency in Hz… which it won’t be for a shooter wheel.

There are threads in CD discussing this.