|
STM8L151C8T6 Datasheet, PDF (15/129 Pages) STMicroelectronics – 8-bit ultralow power MCU, up to 64 KB Flash + 2 KB data EEPROM, RTC, LCD, timers, USARTs, I2C, SPIs, ADC, DAC, comparators | |||
|
◁ |
STM8L15xx8, STM8L15xR6
Functional overview
3.2
3.2.1
3.2.2
Central processing unit STM8
Advanced STM8 Core
The 8-bit STM8 core is designed for code efficiency and performance with an Harvard
architecture and a 3-stage pipeline.
It contains 6 internal registers which are directly addressable in each execution context, 20
addressing modes including indexed indirect and relative addressing, and 80 instructions.
Architecture and registers
â Harvard architecture
â 3-stage pipeline
â 32-bit wide program memory bus - single cycle fetching most instructions
â X and Y 16-bit index registers - enabling indexed addressing modes with or without
offset and read-modify-write type data manipulations
â 8-bit accumulator
â 24-bit program counter - 16 Mbyte linear memory space
â 16-bit stack pointer - access to a 64 Kbyte level stack
â 8-bit condition code register - 7 condition flags for the result of the last instruction
Addressing
â 20 addressing modes
â Indexed indirect addressing mode for lookup tables located anywhere in the address
space
â Stack pointer relative addressing mode for local variables and parameter passing
Instruction set
â 80 instructions with 2-byte average instruction size
â Standard data movement and logic/arithmetic functions
â 8-bit by 8-bit multiplication
â 16-bit by 8-bit and 16-bit by 16-bit division
â Bit manipulation
â Data transfer between stack and accumulator (push/pop) with direct stack access
â Data transfer using the X and Y registers or direct memory-to-memory transfers
Interrupt controller
The high density and medium+ density STM8L15xxdevices feature a nested vectored
interrupt controller:
â Nested interrupts with 3 software priority levels
â 32 interrupt vectors with hardware priority
â Up to 40 external interrupt sources on 11 vectors
â Trap and reset interrupts
Doc ID 17943 Rev 5
15/129
|
▷ |