From 232dac2fd07eacca0bb46b22ff7d79ab8bd0af67 Mon Sep 17 00:00:00 2001 From: Andrew Dona-Couch Date: Tue, 4 Aug 2020 18:31:28 -0400 Subject: [PATCH] attiny88: simplify patches thanks to svdpatch fixes --- patch/attiny88.yaml | 36 ++++++------------------------------ 1 file changed, 6 insertions(+), 30 deletions(-) diff --git a/patch/attiny88.yaml b/patch/attiny88.yaml index e1f3166..6af37ba 100644 --- a/patch/attiny88.yaml +++ b/patch/attiny88.yaml @@ -1,6 +1,7 @@ _include: - "common/ac.yaml" - "common/spi.yaml" + - "common/twi.yaml" - "common/wdt.yaml" - "timer/attiny88.yaml" @@ -85,18 +86,12 @@ EEPROM: WRITE: [2, "Write only"] EXINT: EICRA: - ISC0: + ISC?: _replace_enum: - LOW: [0, "The low level of INT0 generates an interrupt request"] - TOGGLE: [1, "Any logical change on INT0 generates an interrupt request"] - FALLING: [2, "The falling edge of INT0 generates an interrupt request"] - RISING: [3, "The rising edge of INT0 generates an interrupt request"] - ISC1: - _replace_enum: - LOW: [0, "The low level of INT1 generates an interrupt request"] - TOGGLE: [1, "Any logical change on INT1 generates an interrupt request"] - FALLING: [2, "The falling edge of INT1 generates an interrupt request"] - RISING: [3, "The rising edge of INT1 generates an interrupt request"] + LOW: [0, "The low level of INTx generates an interrupt request"] + TOGGLE: [1, "Any logical change on INTx generates an interrupt request"] + FALLING: [2, "The falling edge of INTx generates an interrupt request"] + RISING: [3, "The rising edge of INTx generates an interrupt request"] _modify: PCICR: description: "Pin Change Interrupt Control Register" @@ -106,22 +101,3 @@ PORTA: access: read-write DDRA: access: read-write -TWI: - TWCR: - _modify: - TWWC: - access: read-only - TWAMR: - _modify: - TWAM: - description: "TWI (Slave) Address Mask Bits" - TWSR: - _modify: - TWS: - access: read-only - TWPS: - _replace_enum: - PRESCALER_1: [0, "Prescaler Value 1"] - PRESCALER_4: [1, "Prescaler Value 4"] - PRESCALER_16: [2, "Prescaler Value 16"] - PRESCALER_64: [3, "Prescaler Value 64"] -- 2.48.1