Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 82584

Low-cost 8-bit microprocessor family with a stack pointer, and a unified address space Harvard architecture. Don't use for STM32!

2 votes

IAR STM8 delay function

IAR has __delay_cycles you can use it. Here a basic code #include <intrinsics.h> #if !defined(F_CPU) #warning no F_CPU #endif #define delay_us(us) __delay_cycles((F_CPU *(us)/4000000uL)
yogesh singh's user avatar
2 votes
Accepted

UART receive is not working in STM8S

Problem get solved by commenting HSI #include <iostm8s003f3.h> #include <intrinsics.h> #include <stdio.h> void InitialiseSystemClock() { CLK_ICKR = 0; // Reset the Internal C …
yogesh singh's user avatar