EasyManua.ls Logo

STMicroelectronics STM8 User Manual

STMicroelectronics STM8
126 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #26 background imageLoading...
Page #26 background image
Shown below are the SPL functions associated with the GPIO module.
Observe the code below. This is the power of the ST’s SPL. The code is written with no traditional
register access. Everything here has a meaningful nomenclature, just like regular naming/words of the
reference manual/comments. There shouldn’t be any issue understanding the code. The code is
almost Arduino-like. Here we are polling an input pin’s state to alter the blink rate of a LED.
Question and Answer IconNeed help?

Do you have a question about the STMicroelectronics STM8 and is the answer not in the manual?

STMicroelectronics STM8 Specifications

General IconGeneral
ADC Resolution10-bit
CoreSTM8
Maximum Clock FrequencyUp to 24 MHz
Flash MemoryUp to 128 KB
RAMUp to 6 KB
EEPROMUp to 2 KB
Operating Voltage2.95 V to 5.5 V
Operating Temperature-40°C to +85°C or +125°C
Communication InterfacesUART, SPI, I2C
Package OptionsLQFP, TSSOP, UFQFPN, SO

Summary

Hardware Tools

Software Tools

Creating a New Code Project

Uploading Code

General Purpose Input Output (GPIO)

Clock System (CLK)

External Interrupt (EXTI)

Alphanumerical LCD

Analog-to-Digital Converter (ADC)

Analog Watchdog (AWD)

Independent Watchdog (IWDG)

Window Watchdog (WWDG)

Time Base Generation (TIM2)

Timer Interrupt (TIM4)

General Purpose Pulse Width Modulation (TIM2 PWM)

Advanced Pulse Width Modulation (TIM1 PWM)

Timer Input Capture (TIM1 & TIM2)

Serial Communication (UART)

Serial Peripheral Interface (SPI)

Inter-Integrated Circuit (I2C)

Peripheral Clock Configurations

Unlocking a Locked STM8 Chip

Related product manuals