diff --git a/data/registers/gpio_v1.json b/data/registers/gpio_v1.json index 4552d08..9761a44 100644 --- a/data/registers/gpio_v1.json +++ b/data/registers/gpio_v1.json @@ -146,21 +146,19 @@ "fields": [ { "name": "LCK", - "description": "Port A Lock bit", + "description": "Port configuration locked", "bit_offset": 0, "bit_size": 1, "array": { "len": 16, "stride": 1 - }, - "enum": "LCK" + } }, { "name": "LCKK", - "description": "Lock key", + "description": "Port configuration lock key active", "bit_offset": 16, - "bit_size": 1, - "enum": "LCKK" + "bit_size": 1 } ] }, @@ -240,36 +238,6 @@ } ] }, - "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": [ diff --git a/data/registers/gpio_v2.json b/data/registers/gpio_v2.json index 5cee020..5e82f32 100644 --- a/data/registers/gpio_v2.json +++ b/data/registers/gpio_v2.json @@ -125,21 +125,19 @@ "fields": [ { "name": "LCK", - "description": "Port x lock bit y (y= 0..15)", + "description": "Port configuration locked", "bit_offset": 0, "bit_size": 1, "array": { "len": 16, "stride": 1 - }, - "enum": "LCK" + } }, { "name": "LCKK", - "description": "Port x lock bit y (y= 0..15)", + "description": "Port configuration lock key active", "bit_offset": 16, - "bit_size": 1, - "enum": "LCKK" + "bit_size": 1 } ] }, @@ -238,36 +236,6 @@ } ] }, - "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": [