| ??? 02/17/09 01:24 Read: times |
#162499 - Call RTC_Init Responding to: ???'s previous message |
from your main routine. That's enough to initialize it.
void main(void)
{
//Initialize hardware devices
RTC_Init();
//Initialize RTOS
//Create Tasks
//Load initial values and parameters
//start Interrupts and Serial Baud
RTC_SCLK=0;
RTC_REST=0;
RTC_IO = 0;
while(1)// SuperLoop that Runs Forever...
{
--
--
--
--
--
updateRealTime();
}
}
|
| Topic | Author | Date |
| HT1380 > RTC | 01/01/70 00:00 | |
| Not enough details to help | 01/01/70 00:00 | |
| More Details !! | 01/01/70 00:00 | |
Call RTC_Init | 01/01/70 00:00 |



