Question
Calling RTC_Init
Posted on June 27, 2011 at 12:13
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