tahirnaseer wrote on Wednesday, November 19, 2014:
Hi,
I am forced to use FreeRTOS on a processor with limited access through an API for real-time routines. This means that I cannot get direct contact with interrupts etc. Can I get some hints to solve the issue? The following are the functions which I can use.
• FUNC_Init (void)
Initializes the Real-Time-Kernel module and set up a free running counter with a resolution of 1us.
• FUNC_StartTime (datatype4 ˚const timestamp)
Returns a timestamp.
• datatype4 FUNC_GetTimeUS (datatype4 timestamp)
Returns the passed time.
• FUNC_PeriodicInit (datatype2 period, VAR_EVENT_HANDLER event_handler)
Initializes the Periodic Timer.
• FUNC_PeriodicDeInit (void)
Deinitializes the Periodic Timer and stops it.
• FUNC_InitDateAndTime (void)
Initializes the external Real-Time-Kernel device for date and time operations.
• FUNC_GetDateAndTime (datatype1 ˚const seconds, datatype1 ˚const minutes,
datatype1 ˚const hours, datatype1 ˚const days, datatype1 ˚const months, datatype1 ˚const years)
Returns the date and time of the real time clock.
• FUNC_SetDateAndTime (datatype1 seconds, datatype1 minutes, datatype1 hours,
datatype1 days, datatype1 months, datatype1 years)
Sets the date and time of the real time clock.
• FUNC_GetDateAndTimeStatus (void)
Gets the status of the external Real-Time-Kernel device.
• FUNC_DeInitDateAndTime (void)
Deinitializes the external Real-Time-Kernel device.