This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RTC doesn't work?


i found a issue in your code, but i this is only a typo in the demo:

while(1) 
{ 
HAL_READ_UINT32(CYGARC_REG_SYSTICK_BASE+CYGARC_REG_SYSTICK_VALUE,
timerVal0); 
timerVal*2*= cyg_current_time(); 
  
printf("%u\n", timerVal0); //it's okay...i counts down! 
printf("%u\n", timerVal*1*); //always 0 :-( 
} 





--
View this message in context: http://sourceware-org.1504.n7.nabble.com/RTC-doesn-t-work-tp233422p233568.html
Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com.

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]