Hi, Bbyl5009.
I have no complete design with stm8s103f3 (TSSOP20). 310VDC/220AC project is not complete because high level of the hindrances from working H-bridge obstructs output voltage measurements and overcurrent protection.
I think i know how solve this problem, but at present time i have no time for this
I mean **3843 as mosfet driver is not worse than already mentioned scheme with three npn transistors and provide 5V supply for mcu and reliable current protection. And TL/UC/KA/etc 3843 is very cheap microcircuit.
as i remember that scheme is work, in principle, but more suitable to use mildly garbled signal with trapezoidal forms than this resemblance of the bridge scheme.