14.7.3.7.1 Function rtc_tamper_get_config_defaults()

Gets the RTC tamper default configurations.

void rtc_tamper_get_config_defaults( struct rtc_tamper_config *const config)

Initializes the configuration structure to default values.

The default configuration is as follows:
  • Disable backup register reset on tamper

  • Disable GP register reset on tamper

  • Active layer clock divided by a factor of 8

  • Debounce clock divided by a factor of 8

  • Detect edge on INn with synchronous stability debouncing

  • Disable DMA on tamper

  • Enable GP register

  • Disable debouce, detect on falling edge and no action on INn

Table 14-46. Parameters
Data directionParameter nameDescription

[out]

config

Configuration structure to be initialized to default values.