AT32F425
Series Reference Manual
2022.03.30
Page 297
Ver 2.01
Bit 13
CAL16
0x0
rw
16 second calibration period
0: No effect
1: 16-second calibration
Bit 12: 9
Reserved
0x0
resd
Kept at its default value
Bit 8: 0
DEC
0x000
rw
Decrease ERTC clock
DEC out of ERTC_CLK cycles are masked during the 220
ERTC_CLK periods. This bit is usually used with ADD.
When the ADD is set, the actual number of ERTC_CLK is
equal to 220+512-DEC during the 220 ERTC_CLK periods.
17.4.15 ERTC tamper configuration register (ERTC_TAMP)
Bit
Register
Reset value
Type
Description
Bit 31: 19 Reserved
0x0000
resd
Kept at its default value
Bit 18
OUTTYPE
0x0
rw
Output type
0: Open-drain output
1: Push-pull output
Bit 17: 16 Reserved
0x0
resd
Kept at its default value
Bit 15
TPPU
0x0
rw
Tamper detection pull-up
0: Tamper detection pull-up enabled
1: Tamper detection pull-up disabled
Bit 14: 13 TPPR
0x0
rw
Tamper detection pre-charge time
0: 1 ERTC_CLK cycle
1: 2 ERTC_CLK cycles
2: 4 ERTC_CLK cycles
3: 8 ERTC_CLK cycles
Bit 12: 11 TPFLT
0x0
rw
Tamper detection filter time
0: No filter
1: Tamper is detected after 2 consecutive samples
2: Tamper is detected after 4 consecutive samples
3: Tamper is detected after 8 consecutive samples
Bit 10: 8
TPFREQ
0x0
rw
Tamper detection frequency
0: ERTC_CLK/32768
1: ERTC_CLK/16384
2: ERTC_CLK/8192
3: ERTC_CLK/4096
4: ERTC_CLK/2048
5: ERTC_CLK/1024
6: ERTC_CLK/512
7: ERTC_CLK/256
Bit 7
TPTSEN
0x0
rw
Tamper detection timestamp enable
0: Tamper detection timestamp disabled
1: Tamper detection timestamp enbled. Save timestamp on
a tamper event.
Bit 6: 3
Reserved
0x0
resd
Kept at its default value
Bit 2
TPIEN
0x0
rw
Tamper detection interrupt enable
0: Tamper detection interrupt disabled
1: Tamper detection interrupt enabled
Bit 1
TP1EDG
0x0
rw
Tamper detection 1 valid edge
If TPFLT=0:
0: Rising edge
1: Falling edge
If TPFLT>0:
0: Low