Stm8 Iar Sample Code