Skip to content

Commit

Permalink
Merge pull request embassy-rs#547 from dlaw/main
Browse files Browse the repository at this point in the history
More HRTIM updates
  • Loading branch information
Dirbaio authored Dec 13, 2024
2 parents ddb0e7a + d874140 commit 583744a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 64 deletions.
42 changes: 10 additions & 32 deletions data/registers/hrtim_v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1358,26 +1358,13 @@ fieldset/TIMXCR:
description: Timer X reset update
bit_offset: 18
bit_size: 1
- name: TAU
description: Timer A update
- name: TU
description: Timer X update
bit_offset: 19
bit_size: 1
- name: TBU
description: Timer B update
bit_offset: 20
bit_size: 1
- name: TCU
description: Timer C update
bit_offset: 21
bit_size: 1
- name: TDU
description: Timer D update
bit_offset: 22
bit_size: 1
- name: TEU
description: Timer E update
bit_offset: 23
bit_size: 1
array:
len: 5
stride: 1
- name: MSTU
description: Master Timer update
bit_offset: 24
Expand Down Expand Up @@ -1502,7 +1489,7 @@ fieldset/TIMXDT:
description: Sign Deadtime Rising value
bit_offset: 9
bit_size: 1
enum: SDTR
enum: SDT
- name: DTPRSC
description: Deadtime Prescaler
bit_offset: 10
Expand All @@ -1523,7 +1510,7 @@ fieldset/TIMXDT:
description: Sign Deadtime Falling value
bit_offset: 25
bit_size: 1
enum: SDTF
enum: SDT
- name: DTFSLK
description: Deadtime Falling Sign Lock
bit_offset: 30
Expand Down Expand Up @@ -2092,23 +2079,14 @@ enum/POL:
- name: ActiveLow
description: Negative polarity (output active low)
value: 1
enum/SDTF:
bit_size: 1
variants:
- name: Positive
description: Positive deadtime on falling edge
value: 0
- name: Negative
description: Negative deadtime on falling edge
value: 1
enum/SDTR:
enum/SDT:
bit_size: 1
variants:
- name: Positive
description: Positive deadtime on rising edge
description: Positive deadtime (both outputs inactive during deadtime)
value: 0
- name: Negative
description: Negative deadtime on rising edge
description: Negative deadtime (both outputs active during deadtime)
value: 1
enum/SYNCIN:
bit_size: 2
Expand Down
42 changes: 10 additions & 32 deletions data/registers/hrtim_v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1355,26 +1355,13 @@ fieldset/TIMXCR:
description: Timer X reset update
bit_offset: 18
bit_size: 1
- name: TAU
description: Timer A update
- name: TU
description: Timer X update
bit_offset: 19
bit_size: 1
- name: TBU
description: Timer B update
bit_offset: 20
bit_size: 1
- name: TCU
description: Timer C update
bit_offset: 21
bit_size: 1
- name: TDU
description: Timer D update
bit_offset: 22
bit_size: 1
- name: TEU
description: Timer E update
bit_offset: 23
bit_size: 1
array:
len: 5
stride: 1
- name: MSTU
description: Master Timer update
bit_offset: 24
Expand Down Expand Up @@ -1499,7 +1486,7 @@ fieldset/TIMXDT:
description: Sign Deadtime Rising value
bit_offset: 9
bit_size: 1
enum: SDTR
enum: SDT
- name: DTPRSC
description: Deadtime Prescaler
bit_offset: 10
Expand All @@ -1520,7 +1507,7 @@ fieldset/TIMXDT:
description: Sign Deadtime Falling value
bit_offset: 25
bit_size: 1
enum: SDTF
enum: SDT
- name: DTFSLK
description: Deadtime Falling Sign Lock
bit_offset: 30
Expand Down Expand Up @@ -2091,23 +2078,14 @@ enum/POL:
- name: ActiveLow
description: Negative polarity (output active low)
value: 1
enum/SDTF:
bit_size: 1
variants:
- name: Positive
description: Positive deadtime on falling edge
value: 0
- name: Negative
description: Negative deadtime on falling edge
value: 1
enum/SDTR:
enum/SDT:
bit_size: 1
variants:
- name: Positive
description: Positive deadtime on rising edge
description: Positive deadtime (both outputs inactive during deadtime)
value: 0
- name: Negative
description: Negative deadtime on rising edge
description: Negative deadtime (both outputs active during deadtime)
value: 1
enum/SYNCIN:
bit_size: 2
Expand Down

0 comments on commit 583744a

Please sign in to comment.