Generating exact delay in us IAR-STM8

Thread Starter

Vindhyachal Takniki

Joined Nov 3, 2014
1. I am using IAR for STM8 V1.42.2
I have to generate some exact delay of us range like low as 25us to 100us.

2. Clearly that can be done using timer. But I don't want to use timer for this purpose. I have 2 timer running for different purpose.

3. I have used mplab & TI CCS. They have delay function which can generate exact delay like
__delay_us() , __delay_ms , or __delay_cycles()

is there any similiar function in IAR STM8?