It is actually a 40 pin Maple Mini (clone) STM32 microcontroller providing I2C interface to the rotary encoders (and more). See here and here.