stm32-data/data/registers/dbgmcu_f0.yaml
Dario Nieuwenhuis 86fb0cfc2f chiptool fmt.
2023-09-16 02:34:03 +02:00

109 lines
2.7 KiB
YAML

block/DBGMCU:
description: Debug support
items:
- name: IDCODE
description: MCU Device ID Code Register
byte_offset: 0
access: Read
fieldset: IDCODE
- name: CR
description: Debug MCU Configuration Register
byte_offset: 4
fieldset: CR
- name: APB1_FZ
description: Debug MCU APB1 freeze register
byte_offset: 8
fieldset: APB1_FZ
- name: APB2_FZ
description: Debug MCU APB2 freeze register
byte_offset: 12
fieldset: APB2_FZ
fieldset/APB1_FZ:
description: Debug MCU APB1 freeze register
fields:
- name: TIM2
description: TIM2 counter stopped when core is halted
bit_offset: 0
bit_size: 1
- name: TIM3
description: TIM3 counter stopped when core is halted
bit_offset: 1
bit_size: 1
- name: TIM6
description: TIM6 counter stopped when core is halted
bit_offset: 4
bit_size: 1
- name: TIM7
description: TIM7 counter stopped when core is halted
bit_offset: 5
bit_size: 1
- name: TIM14
description: TIM14 counter stopped when core is halted
bit_offset: 8
bit_size: 1
- name: RTC
description: Debug RTC stopped when core is halted
bit_offset: 10
bit_size: 1
- name: WWDG
description: Debug window watchdog stopped when core is halted
bit_offset: 11
bit_size: 1
- name: IWDG
description: Debug independent watchdog stopped when core is halted
bit_offset: 12
bit_size: 1
- name: DBG_I2C1_SMBUS_TIMEOUT
description: SMBUS timeout mode stopped when core is halted
bit_offset: 21
bit_size: 1
- name: CAN
description: CAN stopped when core is halted
bit_offset: 25
bit_size: 1
fieldset/APB2_FZ:
description: Debug MCU APB2 freeze register
fields:
- name: TIM1
description: TIM1 counter stopped when core is halted
bit_offset: 11
bit_size: 1
- name: TIM15
description: TIM15 counter stopped when core is halted
bit_offset: 16
bit_size: 1
- name: TIM16
description: TIM16 counter stopped when core is halted
bit_offset: 17
bit_size: 1
- name: TIM17
description: TIM17 counter stopped when core is halted
bit_offset: 18
bit_size: 1
fieldset/CR:
description: Debug MCU Configuration Register
fields:
- name: DBG_STOP
description: Debug Stop Mode
bit_offset: 1
bit_size: 1
- name: DBG_STANDBY
description: Debug Standby Mode
bit_offset: 2
bit_size: 1
fieldset/IDCODE:
description: MCU Device ID Code Register
fields:
- name: DEV_ID
description: Device Identifier
bit_offset: 0
bit_size: 12
- name: DIV_ID
description: Division Identifier
bit_offset: 12
bit_size: 4
- name: REV_ID
description: Revision Identifier
bit_offset: 16
bit_size: 16