Zero crossing interrupt timer implementation
I am working on creating a reverse phase dimmer where the on/off timing for the 120/240 VAC sine wave is handled by an STM32L051C8Tx MCU. There is a separate analog circuit that generates a 3V3 pulse at every zero crossing and I take this as an input...