www.beck-ipc.com

@CHIP-RTOS C Library - RTOS API


RTX_Set_TimeDate

Set system time and date.

int RTX_Set_TimeDate ( const TimeDate_Structure far *td );

Parameters

td

Input parameter, pointer to TimeDate_Structure type containing new time/date.

Return Value

0: Success

Comments

The Day Of Week field (.dow ) in TimeDate_Structure need not be set by caller.   This API function computes this field based on the other member data.

Note:    This function performs no validity check on date/time data supplied by user.

See Also

RTOS API

This library function invokes a RTOS software interrupt. Refer to this RTOS API function's documentation for more details.

Related Topics

RTX API   Overview

Supported since or modified in @CHIP-RTOS version

    SC12SC13SC11SC1x3SC2x
    V1.00V1.00V1.00V0.90V1.00

This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document