SSP_GetDateTime

Syntax


BOOL SSP_GetDateTime(void);

Arguments

None.

Return Values

Returns TRUE if successful.
Returns FALSE if it fails.

Description

Gets the current date and time.
This function's only operation is to call the RTC_GetDateTime function. This function is called from the SSP_SetJpegEncoderDateTimeNow, SSP_StartJpegEncoder, and SSP_StartJpegEncoderWithEncodeData functions. This function is compiled with weak symbols, so it can be overwritten by user-defined functions.
When not overwriting, you must call the RTC_Init function for the RTC_GetDateTime function in advance.

See Also

RTC_GetDateTime
RTC_Init
SSP_SetJpegEncoderDateTimeNow
SSP_StartJpegEncoder
SSP_StartJpegEncoderWithEncodeData

Revision History

2009/07/16 Added description that it is necessary to call the RTC_Init function.
2008/09/15 Initial version.


CONFIDENTIAL