AnsweredAssumed Answered

Calling RTC_Init

Question asked by rossi.giambattis.001 on Jun 27, 2011
Latest reply on Jun 30, 2011 by Clive One
Good morning everybody!
I'm evaluating ST standard device Library with STM32L discovery board.
I want to test RTC and so in my main I want to call RTC_Init and so on.

So I prepare a RTC_InitType  structure, I create a RTC_InitType pointer, than I do:
pointer = &structure

Now I call RTC_Init and I pass to it my pointer, but there is a compiler error to this instruction:
pointer = &structure

Why doesn't it work?
How can I call routines in stm32l1xx_rtc.h?

Thank you very much

Outcomes