STM8
The STM8 is one of STMicroelectronics advanced 8-bit - microcontroller .
architecture
The STM8 has a few things in common with the earlier ST7 , but is well suited as a target architecture for C compilers thanks to the efficient stack pointer -relative addressing mode available in almost all instructions . There is an 8-bit accumulator A and two 16-bit registers X and Y. The latter are used in particular as index registers . A few STM8 microcontrollers have more than 64K of memory; With these, access to data above 64 KB is only possible in a relatively complicated manner using special instructions.
Subfamilies
- STM8AF for automobiles
- STM8AL with low energy consumption for automobiles
- STM8L with low energy consumption
- STM8S is the standard series
- STM8T for capacitive touch sensors
- STLUX for converters and for lighting control. These have 6 generators for pulse width modulation .
- STNRG for converters
Compiler support
The STM8 is supported by the free C compiler SDCC . Additionally also on the Cosmic C and IAR C .