Function rtc_count_set_period()

Set the given value to the period.

enum status_code rtc_count_set_period(
		struct rtc_module *const module,
		uint16_t period_value)

Sets the given value to the period.

Note: Only available in 16-bit mode.
Table 1. Parameters
Data direction Parameter name Description

[in, out]

module

Pointer to the software instance struct

[in]

period_value

The value to set to the period

Returns

Status of setting the period value.

Table 2. Return Values
Return value Description

STATUS_OK

If the period was set correctly

STATUS_ERR_UNSUPPORTED_DEV

If module is not operated in 16-bit mode