14.7.3.2.6 Function rtc_count_get_period()

Retrieves the value of period.

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

Retrieves the value of the period for the 16-bit mode counter.

Note: Only available in 16-bit mode.
Table 14-25. Parameters
Data directionParameter nameDescription

[in, out]

module

Pointer to the software instance struct

[out]

period_value

Pointer to value for return argument

Returns

Status of getting the period value.

Table 14-26. Return Values
Return valueDescription

STATUS_OK

If the period value was read correctly

STATUS_ERR_UNSUPPORTED_DEV

If incorrect mode was set