~ruther/avr-device

71b1b462183bca6e9d9da6eebe71cd9ba24911e6 — Rahix 5 years ago 1c729bd
atmega328p: Add patch & fix ACSR access mode

Signed-off-by: Rahix <rahix@rahix.de>
2 files changed, 8 insertions(+), 0 deletions(-)

A patch/atmega328p.yaml
M patch/common/ac.yaml
A patch/atmega328p.yaml => patch/atmega328p.yaml +3 -0
@@ 0,0 1,3 @@
_include:
  - "common/wdt.yaml"
  - "common/ac.yaml"

M patch/common/ac.yaml => patch/common/ac.yaml +5 -0
@@ 1,8 1,13 @@
AC:
  _modify:
    ACSR:
      access: read-write
  ACSR:
    _modify:
      ACIS:
        description: "Analog Comparator Interrupt Mode Select"
      ACO:
        access: read-only
    ACIS:
      _replace_enum:
        ON_TOGGLE: [0, "Interrupt on Toggle"]

Do not follow this link