S4512MB is a wall switch color temperature adjustment dedicated chip with memory function, dedicated to be used with linear main control chips. By operating the wall switch, the color temperature can be changed. The internal state switching window time Tsw (typical value is 6.4S) is set. If the light-off time exceeds the state switching window time, the chip will remember the state before turning off the light. When turning on the light next time, the state before turning off the light will be directly presented. If the light-off time is less than the state switching window time and then turning on the light, the color temperature can be switched, increasing the convenience of use. S4512MB has two built-in 400V thyristors, which simplifies the peripheral circuit and is very suitable for use in bulbs and downlights that have requirements for cost and space. Detect AC signals to judge on/off, ensuring logical consistency when multiple power supplies are applied simultaneously.