Skip to content

Commit

Permalink
fix: update register definitions from new svd
Browse files Browse the repository at this point in the history
  • Loading branch information
andelf committed Jun 28, 2024
1 parent 93792de commit a62ac39
Show file tree
Hide file tree
Showing 18 changed files with 1,384 additions and 172 deletions.
38 changes: 19 additions & 19 deletions data/family/HPM6E00.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -235,26 +235,26 @@
address: 0xF0420000
registers:
kind: pwm
version: v53
block: PWM
version: v6e
block: PWMV2
- name: PWM1
address: 0xF0424000
registers:
kind: pwm
version: v53
block: PWM
version: v6e
block: PWMV2
- name: PWM2
address: 0xF0428000
registers:
kind: pwm
version: v53
block: PWM
version: v6e
block: PWMV2
- name: PWM3
address: 0xF042C000
registers:
kind: pwm
version: v53
block: PWM
version: v6e
block: PWMV2

- name: TRGM0
address: 0xF047C000
Expand Down Expand Up @@ -309,7 +309,7 @@
address: 0xF0460000
registers:
kind: plb
version: v53
version: v6e
block: PLB

- name: RDC0
Expand Down Expand Up @@ -346,64 +346,64 @@
address: 0xF0000000
registers:
kind: tmr
version: common
version: v6e
block: TMR
- name: GPTMR1
address: 0xF0004000
registers:
kind: tmr
version: common
version: v6e
block: TMR
- name: GPTMR2
address: 0xF0008000
registers:
kind: tmr
version: common
version: v6e
block: TMR
- name: GPTMR3
address: 0xF000C000
registers:
kind: tmr
version: common
version: v6e
block: TMR

- name: NTMR0
address: 0xF1410000
registers:
kind: tmr
version: common
version: v6e
block: TMR
- name: NTMR1
address: 0xF1414000
registers:
kind: tmr
version: common
version: v6e
block: TMR
- name: PTMR
address: 0xF4120000
registers:
kind: tmr
version: common
version: v6e
block: TMR

- name: WDG0
address: 0xF00B0000
registers:
kind: wdg
version: v68
version: v53
block: WDG
- name: WDG1
address: 0xF00B4000
registers:
kind: wdg
version: v68
version: v53
block: WDG

- name: PWDG
address: 0xF4128000
registers:
kind: wdg
version: v68
version: v53
block: WDG

- name: RTC
Expand Down
12 changes: 6 additions & 6 deletions data/family/HPM6E00_NonBasic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -180,38 +180,38 @@
address: 0xF0010000
registers:
kind: tmr
version: common
version: v6e
block: TMR
- name: GPTMR5
address: 0xF0014000
registers:
kind: tmr
version: common
version: v6e
block: TMR
- name: GPTMR6
address: 0xF0018000
registers:
kind: tmr
version: common
version: v6e
block: TMR
- name: GPTMR7
address: 0xF001C000
registers:
kind: tmr
version: common
version: v6e
block: TMR

- name: WDG2
address: 0xF00B8000
registers:
kind: wdg
version: v68
version: v53
block: WDG
- name: WDG3
address: 0xF00BC000
registers:
kind: wdg
version: v68
version: v53
block: WDG

- name: SDM1
Expand Down
2 changes: 1 addition & 1 deletion data/registers/femc_v6e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ block/FEMC:
- name: BR
description: no description available.
array:
len: 3
len: 7
stride: 4
byte_offset: 16
fieldset: BR
Expand Down
2 changes: 1 addition & 1 deletion data/registers/i2s_common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ fieldset/CFGR:
description: Configruation Regsiters.
fields:
- name: CHSIZ
description: "Channel length (number of bits per audio channel) 0: 16-bit wide 1: 32-bit wide The bit write operation has a meaning only if DATLEN = 00 otherwise the channel length is fixed to 32-bit by hardware whatever the value filled in. Note: For correct operation, this bit should be configured when the I2S is disabled."
description: "Channel length (number of bits per audio channel) 0: 16-bit wide 1: 32-bit wide The bit write operation has a meaning only if DATSIZ = 00 otherwise the channel length is fixed to 32-bit by hardware whatever the value filled in. Note: For correct operation, this bit should be configured when the I2S is disabled."
bit_offset: 0
bit_size: 1
- name: DATSIZ
Expand Down
Loading

0 comments on commit a62ac39

Please sign in to comment.