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.
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.
Return value | Description |
---|---|
STATUS_OK |
If the period was set correctly |
STATUS_ERR_UNSUPPORTED_DEV |
If module is not operated in 16-bit mode |