You are viewing documentation for version:
Tamper options#
Tamper configuration options.
Levels, signals and filter options.
Macros#
#define
SL_SE_TAMPER_LEVEL_IGNORE 0
#define
SL_SE_TAMPER_LEVEL_INTERRUPT 1
#define
SL_SE_TAMPER_LEVEL_FILTER 2
Increment filter counter.
#define
SL_SE_TAMPER_LEVEL_RESET 4
#define
SL_SE_TAMPER_LEVEL_PERMANENTLY_ERASE_OTP 7
Erase OTP - THIS WILL MAKE THE DEVICE INOPERATIONAL!
#define
SL_SE_TAMPER_SIGNAL_RESERVED_1 0x0
#define
SL_SE_TAMPER_SIGNAL_FILTER_COUNTER 0x1
Filter counter exceeds threshold.
#define
SL_SE_TAMPER_SIGNAL_WATCHDOG 0x2
#define
SL_SE_TAMPER_SIGNAL_CRYPTO_ERROR 0x3
#define
SL_SE_TAMPER_SIGNAL_SE_RAM_ECC_2 0x4
#define
SL_SE_TAMPER_SIGNAL_RESERVED_2 0x5
#define
SL_SE_TAMPER_SIGNAL_SE_MAJOR_FAULT 0x6
#define
SL_SE_TAMPER_SIGNAL_L2ICACHE 0x7
L2 instruction cache error.
#define
SL_SE_TAMPER_SIGNAL_RESERVED_3 0x8
#define
SL_SE_TAMPER_SIGNAL_USER_SECURE_BOOT_FAILED 0x9
Secure boot of user code failed.
#define
SL_SE_TAMPER_SIGNAL_MAILBOX_AUTHORIZATION_ERROR 0xA
Unauthorised command received over the Mailbox interface.
#define
SL_SE_TAMPER_SIGNAL_DCI_AUTHORIZATION_ERROR 0xB
Unauthorised command received over the DCI interface.
#define
SL_SE_TAMPER_SIGNAL_SE_SOFTWARE_ASSERTION 0xC
SE software triggers an assert.
#define
SL_SE_TAMPER_SIGNAL_RESERVED_4 0xD
#define
SL_SE_TAMPER_SIGNAL_SELFTEST_FAILED 0xE
Integrity error of internal storage is detected.
#define
SL_SE_TAMPER_SIGNAL_TRNG_MONITOR 0xF
TRNG monitor detected lack of entropy.
#define
SL_SE_TAMPER_SIGNAL_SECURE_LOCK_ERROR 0x10
Debug lock internal logic check failed.
#define
SL_SE_TAMPER_ATAMPDET 0x11
#define
SL_SE_TAMPER_SIGNAL_OTP_ALARM 0x12
#define
SL_SE_TAMPER_SE_ICACHE_ERROR 0x13
#define
SL_SE_TAMPER_SIGNAL_SE_RAM_ECC_1 0x14
#define
SL_SE_TAMPER_SIGNAL_BOD 0x15
Brown-out-detector threshold alert.
#define
SL_SE_TAMPER_SIGNAL_TEMPERATURE_SENSOR 0x16
On-device temperature sensor.
#define
SL_SE_TAMPER_SIGNAL_DPLL_LOCK_FAIL 0x17
#define
SL_SE_TAMPER_SIGNAL_SOC_PLL_FAIL 0x18
#define
SL_SE_TAMPER_SIGNAL_ETAMPDET 0x19
#define
SL_SE_TAMPER_SIGNAL_KSU_ECC_1 0x1A
#define
SL_SE_TAMPER_SIGNAL_KSU_ECC_2 0x1B
#define
SL_SE_TAMPER_SIGNAL_QSPI_RESEED_ERR 0x1C
#define
SL_SE_TAMPER_SIGNAL_PRS0 0x1D
#define
SL_SE_TAMPER_SIGNAL_PRS1 0x1E
#define
SL_SE_TAMPER_SIGNAL_PRS2 0x1F
#define
SL_SE_TAMPER_SIGNAL_NUM_SIGNALS 0x20
Number of tamper signals.
#define
SL_SE_TAMPER_FILTER_PERIOD_32MS 0x0
#define
SL_SE_TAMPER_FILTER_PERIOD_64MS 0x1
#define
SL_SE_TAMPER_FILTER_PERIOD_128MS 0x2
#define
SL_SE_TAMPER_FILTER_PERIOD_256MS 0x3
#define
SL_SE_TAMPER_FILTER_PERIOD_512MS 0x4
#define
SL_SE_TAMPER_FILTER_PERIOD_1S 0x5
#define
SL_SE_TAMPER_FILTER_PERIOD_2S 0x6
#define
SL_SE_TAMPER_FILTER_PERIOD_4S 0x7
#define
SL_SE_TAMPER_FILTER_PERIOD_8S 0x8
#define
SL_SE_TAMPER_FILTER_PERIOD_16S 0x9
#define
SL_SE_TAMPER_FILTER_PERIOD_33S 0xA
#define
SL_SE_TAMPER_FILTER_PERIOD_1MIN 0xB
#define
SL_SE_TAMPER_FILTER_PERIOD_2MIN 0xC
#define
SL_SE_TAMPER_FILTER_PERIOD_4MIN 0xD
#define
SL_SE_TAMPER_FILTER_PERIOD_9MIN 0xE
#define
SL_SE_TAMPER_FILTER_PERIOD_18MIN 0xF
#define
SL_SE_TAMPER_FILTER_PERIOD_35MIN 0x10
#define
SL_SE_TAMPER_FILTER_PERIOD_1H 0x11
#define
SL_SE_TAMPER_FILTER_PERIOD_2H 0x12
#define
SL_SE_TAMPER_FILTER_PERIOD_5H 0x13
#define
SL_SE_TAMPER_FILTER_PERIOD_9H 0x14
#define
SL_SE_TAMPER_FILTER_PERIOD_19H 0x15
#define
SL_SE_TAMPER_FILTER_PERIOD_2DAYS 0x16
#define
SL_SE_TAMPER_FILTER_PERIOD_3DAYS 0x17
#define
SL_SE_TAMPER_FILTER_PERIOD_6DAYS 0x18
#define
SL_SE_TAMPER_FILTER_PERIOD_12DAYS 0x19
#define
SL_SE_TAMPER_FILTER_PERIOD_25DAYS 0x1A
#define
SL_SE_TAMPER_FILTER_PERIOD_50DAYS 0x1B
#define
SL_SE_TAMPER_FILTER_PERIOD_100DAYS 0x1C
#define
SL_SE_TAMPER_FILTER_PERIOD_199DAYS 0x1D
#define
SL_SE_TAMPER_FILTER_PERIOD_398DAYS 0x1E
#define
SL_SE_TAMPER_FILTER_PERIOD_795DAYS 0x1F
#define
SL_SE_TAMPER_FILTER_THRESHOLD_2 0x7
#define
SL_SE_TAMPER_FILTER_THRESHOLD_4 0x6
#define
SL_SE_TAMPER_FILTER_THRESHOLD_8 0x5
#define
SL_SE_TAMPER_FILTER_THRESHOLD_16 0x4
#define
SL_SE_TAMPER_FILTER_THRESHOLD_32 0x3
#define
SL_SE_TAMPER_FILTER_THRESHOLD_64 0x2
#define
SL_SE_TAMPER_FILTER_THRESHOLD_128 0x1
#define
SL_SE_TAMPER_FILTER_THRESHOLD_256 0x0
#define
SL_SE_TAMPER_FLAG_DGLITCH_ALWAYS_ON (1UL << 1)
#define
SL_SE_TAMPER_FLAG_KEEP_TAMPER_ALIVE_DURING_SLEEP (1UL << 2)
Tamper is kept alive during sleep (down to EM3)