firmware template for ST STM8S micro-controller.
includes register definitions using macros and structures.