gpio-cleanup
This commit is contained in:
parent
9ec9e0afb8
commit
2dbc72e316
@ -106,12 +106,10 @@ fieldset/LCKR:
|
||||
array:
|
||||
len: 16
|
||||
stride: 1
|
||||
enum: LCK
|
||||
- name: LCKK
|
||||
description: Lock key
|
||||
bit_offset: 16
|
||||
bit_size: 1
|
||||
enum: LCKK
|
||||
fieldset/ODR:
|
||||
description: Port output data register (GPIOn_ODR)
|
||||
fields:
|
||||
@ -159,24 +157,6 @@ enum/IDR:
|
||||
- name: High
|
||||
description: Input is logic high
|
||||
value: 1
|
||||
enum/LCK:
|
||||
bit_size: 1
|
||||
variants:
|
||||
- name: Unlocked
|
||||
description: Port configuration not locked
|
||||
value: 0
|
||||
- name: Locked
|
||||
description: Port configuration locked
|
||||
value: 1
|
||||
enum/LCKK:
|
||||
bit_size: 1
|
||||
variants:
|
||||
- name: NotActive
|
||||
description: Port configuration lock key not active
|
||||
value: 0
|
||||
- name: Active
|
||||
description: Port configuration lock key active
|
||||
value: 1
|
||||
enum/MODE:
|
||||
bit_size: 2
|
||||
variants:
|
||||
|
@ -90,12 +90,10 @@ fieldset/LCKR:
|
||||
array:
|
||||
len: 16
|
||||
stride: 1
|
||||
enum: LCK
|
||||
- name: LCKK
|
||||
description: Port x lock bit y (y= 0..15)
|
||||
bit_offset: 16
|
||||
bit_size: 1
|
||||
enum: LCKK
|
||||
fieldset/MODER:
|
||||
description: GPIO port mode register
|
||||
fields:
|
||||
@ -160,24 +158,6 @@ enum/IDR:
|
||||
- name: High
|
||||
description: Input is logic high
|
||||
value: 1
|
||||
enum/LCK:
|
||||
bit_size: 1
|
||||
variants:
|
||||
- name: Unlocked
|
||||
description: Port configuration not locked
|
||||
value: 0
|
||||
- name: Locked
|
||||
description: Port configuration locked
|
||||
value: 1
|
||||
enum/LCKK:
|
||||
bit_size: 1
|
||||
variants:
|
||||
- name: NotActive
|
||||
description: Port configuration lock key not active
|
||||
value: 0
|
||||
- name: Active
|
||||
description: Port configuration lock key active
|
||||
value: 1
|
||||
enum/MODER:
|
||||
bit_size: 2
|
||||
variants:
|
||||
|
3
transforms/GPIO.yaml
Normal file
3
transforms/GPIO.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
transforms:
|
||||
- !DeleteEnums
|
||||
from: ^(LCKK?)$
|
Loading…
x
Reference in New Issue
Block a user