cancel
Showing results for 
Search instead for 
Did you mean: 

IAR based project for STM8L and wake-up by AWU

infoinfo964
Associate
Posted on August 16, 2010 at 10:13

IAR based project for STM8L and wake-up by AWU

2 REPLIES 2
napoleoni.jacques
ST Employee
Posted on May 17, 2011 at 15:09

Hello,

I suggest to use STM8L10x standard peripheral library available at

http://www.st.com/mcu/familiesdocs-120.html

 that can be adapted for IAR and including AWU peripheral.

Regards

nanayakkaraan
Associate II
Posted on May 17, 2011 at 15:09

Hello AlexDion,

Am also having a similar problem.  I want to set registers of STM8L152C6 as follows and that is the syntax I am using.

But the registers are not get assigned.

TIM4_PSCR = 0x0A;

 TIM4_CR1 = 0x01;

 TIM4_IER = 0x01;

When debug values are not assign to registers.

Have you got any idea on this issue?

Any suggestions regarding this matter is appreciated.

Thank you.