14.7.3.2.5 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 14-23. Parameters
Data directionParameter nameDescription

[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 14-24. Return Values
Return valueDescription

STATUS_OK

If the period was set correctly

STATUS_ERR_UNSUPPORTED_DEV

If module is not operated in 16-bit mode