10.1.3.5 calendar_set_baseyear

Configure the base year for calendar HAL instance and hardware.

int32_t calendar_set_baseyear(
    struct calendar_descriptor *const calendar,
    const uint32_t p_base_year
)

Parameters

calendar

Type: struct calendar_descriptor *const

Pointer to the HAL Calendar instance.

p_base_year

Type: const uint32_t

The desired base year.

Returns

Type: int32_t

0

Completed successfully.