From daa939a5befa1009c22f44c320385018335ba74b Mon Sep 17 00:00:00 2001 From: zacharytomlinson Date: Thu, 17 Oct 2024 19:48:46 -0500 Subject: [PATCH] Fixing patch records for common mega0 structure --- patch/common/mega0/port.yaml | 91 +++++++++++++++++++++++++++++------- 1 file changed, 73 insertions(+), 18 deletions(-) diff --git a/patch/common/mega0/port.yaml b/patch/common/mega0/port.yaml index 0964df1..37bf5a4 100644 --- a/patch/common/mega0/port.yaml +++ b/patch/common/mega0/port.yaml @@ -1,4 +1,4 @@ -PORTB: +PORTC: _delete: OUTSET: _add: @@ -8,23 +8,23 @@ PORTB: size: 0x8 access: read-write fields: - PB0: - description: Pin B0 + PC0: + description: Pin C0 bitRange: "[0:0]" access: read-write - PB1: - description: Pin B1 + PC1: + description: Pin C1 bitRange: "[1:1]" access: read-write - PB2: - description: Pin B2 + PC2: + description: Pin C2 bitRange: "[2:2]" access: read-write - PB3: - description: Pin B3 + PC3: + description: Pin C3 bitRange: "[3:3]" access: read-write -PORTC: +PORTD: _delete: OUTSET: _add: @@ -34,19 +34,74 @@ PORTC: size: 0x8 access: read-write fields: - PC0: - description: Pin C0 + PD0: + description: Pin D0 bitRange: "[0:0]" access: read-write - PC1: - description: Pin C1 + PD1: + description: Pin D1 bitRange: "[1:1]" access: read-write - PC2: - description: Pin C2 + PD2: + description: Pin D2 bitRange: "[2:2]" access: read-write - PC3: - description: Pin C3 + PD3: + description: Pin D3 + bitRange: "[3:3]" + access: read-write + PD4: + description: Pin D4 + bitRange: "[4:4]" + access: read-write + PD5: + description: Pin D5 + bitRange: "[5:5]" + access: read-write + PD6: + description: Pin D6 + bitRange: "[6:6]" + access: read-write + PD7: + description: Pin D7 + bitRange: "[7:7]" + access: read-write + +PORTF: + _delete: + OUTSET: + _add: + OUTSET: + description: Output Value Set + addressOffset: 0x5 + size: 0x8 + access: read-write + fields: + PF0: + description: Pin F0 + bitRange: "[0:0]" + access: read-write + PF1: + description: Pin F1 + bitRange: "[1:1]" + access: read-write + PF2: + description: Pin F2 + bitRange: "[2:2]" + access: read-write + PF3: + description: Pin F3 bitRange: "[3:3]" + access: read-write + PF4: + description: Pin F4 + bitRange: "[4:4]" + access: read-write + PF5: + description: Pin F5 + bitRange: "[5:5]" + access: read-write + PF6: + description: Pin F6 + bitRange: "[6:6]" access: read-write \ No newline at end of file