Skip to content

Commit

Permalink
fix(pfic): remove unnecessary enums
Browse files Browse the repository at this point in the history
  • Loading branch information
andelf committed Aug 9, 2024
1 parent 9839bac commit 0f143d8
Show file tree
Hide file tree
Showing 3 changed files with 313 additions and 422 deletions.
13 changes: 13 additions & 0 deletions data/registers/pfic_rv2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ fieldset/CFGR:
description: KEYCODE.
bit_offset: 16
bit_size: 16
enum: KEYCODE
fieldset/GISR:
description: Interrupt Global Register.
fields:
Expand Down Expand Up @@ -524,3 +525,15 @@ fieldset/VTFIDR:
description: VTFID3.
bit_offset: 24
bit_size: 8
enum/KEYCODE:
bit_size: 16
variants:
- name: Key2
description: NMI and EXC key.
value: 0xBCAF # 48303
- name: Key3
description: System Reset key.
value: 0xBEEF # 48879
- name: Key1
description: HWSTK and NEST key.
value: 0xFA05 # 64005
Loading

0 comments on commit 0f143d8

Please sign in to comment.