STMicroelectronics /STM32G0B0 /TAMP /TAMP_FLTCR

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as TAMP_FLTCR

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (B_0x0)TAMPFREQ 0 (B_0x0)TAMPFLT 0 (B_0x0)TAMPPRCH 0 (B_0x0)TAMPPUDIS

TAMPPRCH=B_0x0, TAMPFREQ=B_0x0, TAMPFLT=B_0x0, TAMPPUDIS=B_0x0

Description

TAMP filter control register

Fields

TAMPFREQ

Tamper sampling frequency Determines the frequency at which each of the TAMP_INx inputs are sampled.

0 (B_0x0): RTCCLK / 32768 (1Hz when RTCCLK = 32768Hz)

1 (B_0x1): RTCCLK / 16384 (2Hz when RTCCLK = 32768Hz)

2 (B_0x2): RTCCLK / 8192 (4Hz when RTCCLK = 32768Hz)

3 (B_0x3): RTCCLK / 4096 (8Hz when RTCCLK = 32768Hz)

4 (B_0x4): RTCCLK / 2048 (16Hz when RTCCLK = 32768Hz)

5 (B_0x5): RTCCLK / 1024 (32Hz when RTCCLK = 32768Hz)

6 (B_0x6): RTCCLK / 512 (64Hz when RTCCLK = 32768Hz)

7 (B_0x7): RTCCLK / 256 (128Hz when RTCCLK = 32768Hz)

TAMPFLT

TAMP_INx filter count These bits determines the number of consecutive samples at the specified level (TAMP*TRG) needed to activate a tamper event. TAMPFLT is valid for each of the TAMP_INx inputs.

0 (B_0x0): Tamper event is activated on edge of TAMP_INx input transitions to the active level (no internal pull-up on TAMP_INx input).

1 (B_0x1): Tamper event is activated after 2 consecutive samples at the active level.

2 (B_0x2): Tamper event is activated after 4 consecutive samples at the active level.

3 (B_0x3): Tamper event is activated after 8 consecutive samples at the active level.

TAMPPRCH

TAMP_INx precharge duration These bit determines the duration of time during which the pull-up/is activated before each sample. TAMPPRCH is valid for each of the TAMP_INx inputs.

0 (B_0x0): 1 RTCCLK cycle

1 (B_0x1): 2 RTCCLK cycles

2 (B_0x2): 4 RTCCLK cycles

3 (B_0x3): 8 RTCCLK cycles

TAMPPUDIS

TAMP_INx pull-up disable This bit determines if each of the TAMPx pins are precharged before each sample.

0 (B_0x0): Precharge TAMP_INx pins before sampling (enable internal pull-up)

1 (B_0x1): Disable precharge of TAMP_INx pins.

Links

()