257 lines
6.3 KiB
YAML
257 lines
6.3 KiB
YAML
block/TAMP:
|
|
description: Tamper and backup registers
|
|
items:
|
|
- name: CR1
|
|
description: control register 1
|
|
byte_offset: 0
|
|
fieldset: CR1
|
|
- name: CR2
|
|
description: control register 2
|
|
byte_offset: 4
|
|
fieldset: CR2
|
|
- name: FLTCR
|
|
description: TAMP filter control register
|
|
byte_offset: 12
|
|
fieldset: FLTCR
|
|
- name: IER
|
|
description: TAMP interrupt enable register
|
|
byte_offset: 44
|
|
fieldset: IER
|
|
- name: SR
|
|
description: TAMP status register
|
|
byte_offset: 48
|
|
access: Read
|
|
fieldset: SR
|
|
- name: MISR
|
|
description: TAMP masked interrupt status register
|
|
byte_offset: 52
|
|
access: Read
|
|
fieldset: MISR
|
|
- name: SCR
|
|
description: TAMP status clear register
|
|
byte_offset: 60
|
|
access: Write
|
|
fieldset: SCR
|
|
- name: BKPR
|
|
description: TAMP backup register
|
|
array:
|
|
len: 5
|
|
stride: 4
|
|
byte_offset: 256
|
|
fieldset: BKPR
|
|
- name: HWCFGR2
|
|
description: TAMP hardware configuration register 2
|
|
byte_offset: 1004
|
|
access: Read
|
|
fieldset: HWCFGR2
|
|
- name: HWCFGR1
|
|
description: TAMP hardware configuration register 1
|
|
byte_offset: 1008
|
|
access: Read
|
|
fieldset: HWCFGR1
|
|
- name: VERR
|
|
description: EXTI IP Version register
|
|
byte_offset: 1012
|
|
access: Read
|
|
fieldset: VERR
|
|
- name: IPIDR
|
|
description: EXTI Identification register
|
|
byte_offset: 1016
|
|
access: Read
|
|
fieldset: IPIDR
|
|
- name: SIDR
|
|
description: EXTI Size ID register
|
|
byte_offset: 1020
|
|
access: Read
|
|
fieldset: SIDR
|
|
fieldset/BKPR:
|
|
description: TAMP backup register
|
|
fields:
|
|
- name: BKP
|
|
description: BKP
|
|
bit_offset: 0
|
|
bit_size: 32
|
|
fieldset/CR1:
|
|
description: control register 1
|
|
fields:
|
|
- name: TAMPE
|
|
description: Tamper detection on IN X enable
|
|
bit_offset: 0
|
|
bit_size: 1
|
|
array:
|
|
len: 2
|
|
stride: 1
|
|
- name: ITAMPE
|
|
description: Internal tamper X enable
|
|
bit_offset: 16
|
|
bit_size: 1
|
|
array:
|
|
len: 6
|
|
stride: 1
|
|
fieldset/CR2:
|
|
description: control register 2
|
|
fields:
|
|
- name: TAMPNOER
|
|
description: Tamper X no erase
|
|
bit_offset: 0
|
|
bit_size: 1
|
|
array:
|
|
len: 2
|
|
stride: 1
|
|
- name: TAMPMSK
|
|
description: Tamper X mask
|
|
bit_offset: 16
|
|
bit_size: 1
|
|
array:
|
|
len: 2
|
|
stride: 1
|
|
- name: TAMPTRG
|
|
description: Active level for tamper X input
|
|
bit_offset: 24
|
|
bit_size: 1
|
|
array:
|
|
len: 2
|
|
stride: 1
|
|
fieldset/FLTCR:
|
|
description: TAMP filter control register
|
|
fields:
|
|
- name: TAMPFREQ
|
|
description: "Tamper sampling frequency. Determines the frequency at which each of the INx inputs are sampled."
|
|
bit_offset: 0
|
|
bit_size: 3
|
|
- name: TAMPFLT
|
|
description: "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 INx inputs."
|
|
bit_offset: 3
|
|
bit_size: 2
|
|
- name: TAMPPRCH
|
|
description: "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 INx inputs."
|
|
bit_offset: 5
|
|
bit_size: 2
|
|
- name: TAMPPUDIS
|
|
description: "INx pull-up disable. This bit determines if each of the TAMPx pins are precharged before each sample."
|
|
bit_offset: 7
|
|
bit_size: 1
|
|
fieldset/HWCFGR1:
|
|
description: TAMP hardware configuration register 1
|
|
fields:
|
|
- name: BACKUP_REGS
|
|
description: BACKUP_REGS
|
|
bit_offset: 0
|
|
bit_size: 8
|
|
- name: TAMPER
|
|
description: TAMPER
|
|
bit_offset: 8
|
|
bit_size: 4
|
|
- name: ACTIVE_TAMPER
|
|
description: ACTIVE_TAMPER
|
|
bit_offset: 12
|
|
bit_size: 4
|
|
- name: INT_TAMPER
|
|
description: INT_TAMPER
|
|
bit_offset: 16
|
|
bit_size: 16
|
|
fieldset/HWCFGR2:
|
|
description: TAMP hardware configuration register 2
|
|
fields:
|
|
- name: PTIONREG_OUT
|
|
description: PTIONREG_OUT
|
|
bit_offset: 0
|
|
bit_size: 8
|
|
- name: TRUST_ZONE
|
|
description: TRUST_ZONE
|
|
bit_offset: 8
|
|
bit_size: 4
|
|
fieldset/IER:
|
|
description: TAMP interrupt enable register
|
|
fields:
|
|
- name: TAMPIE
|
|
description: Tamper X interrupt enable
|
|
bit_offset: 0
|
|
bit_size: 1
|
|
array:
|
|
len: 2
|
|
stride: 1
|
|
- name: ITAMPIE
|
|
description: Internal tamper X interrupt enable
|
|
bit_offset: 16
|
|
bit_size: 1
|
|
array:
|
|
len: 6
|
|
stride: 1
|
|
fieldset/IPIDR:
|
|
description: EXTI Identification register
|
|
fields:
|
|
- name: IPID
|
|
description: IP Identification
|
|
bit_offset: 0
|
|
bit_size: 32
|
|
fieldset/MISR:
|
|
description: TAMP masked interrupt status register
|
|
fields:
|
|
- name: TAMPMF
|
|
description: Tamper X interrupt masked flag
|
|
bit_offset: 0
|
|
bit_size: 1
|
|
array:
|
|
len: 2
|
|
stride: 1
|
|
- name: ITAMPMF
|
|
description: Internal tamper X interrupt masked flag
|
|
bit_offset: 16
|
|
bit_size: 1
|
|
array:
|
|
len: 6
|
|
stride: 1
|
|
fieldset/SCR:
|
|
description: TAMP status clear register
|
|
fields:
|
|
- name: CTAMPF
|
|
description: Clear tamper X detection flag
|
|
bit_offset: 0
|
|
bit_size: 1
|
|
array:
|
|
len: 2
|
|
stride: 1
|
|
- name: CITAMPF
|
|
description: Clear internal tamper X detection flag
|
|
bit_offset: 16
|
|
bit_size: 1
|
|
array:
|
|
len: 7
|
|
stride: 1
|
|
fieldset/SIDR:
|
|
description: EXTI Size ID register
|
|
fields:
|
|
- name: SID
|
|
description: Size Identification
|
|
bit_offset: 0
|
|
bit_size: 32
|
|
fieldset/SR:
|
|
description: TAMP status register
|
|
fields:
|
|
- name: TAMPF
|
|
description: Tamper X detection flag
|
|
bit_offset: 0
|
|
bit_size: 1
|
|
array:
|
|
len: 2
|
|
stride: 1
|
|
- name: ITAMPF
|
|
description: Internal tamper X detection flag
|
|
bit_offset: 16
|
|
bit_size: 1
|
|
array:
|
|
len: 7
|
|
stride: 1
|
|
fieldset/VERR:
|
|
description: EXTI IP Version register
|
|
fields:
|
|
- name: MINREV
|
|
description: Minor Revision number
|
|
bit_offset: 0
|
|
bit_size: 4
|
|
- name: MAJREV
|
|
description: Major Revision number
|
|
bit_offset: 4
|
|
bit_size: 4
|