~ruther/avr-device

ref: 266ad6c3ed9a158d6faa93be3cde6325ab1f6619 avr-device/patch/common/tiny/usi.yaml -rw-r--r-- 791 bytes
266ad6c3 — Peter Jaszkowiak fix: attiny84 ADCSRA should be read-write 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
USI:
  _modify:
    USISR:
      access: read-write
  USICR:
    _modify:
      USICLK:
        access: write-only
      USITC:
        access: write-only
    USIWM:
      _replace_enum:
        DISABLED:        [0, "All detectors disabled. Port pins operates as normal."]
        THREE_WIRE:      [1, "Three-wire mode. Uses DO, DI, and USCK pins."]
        TWO_WIRE_SLAVE:  [2, "Two-wire mode (Slave). Uses SDA (DI) and SCL (USCK) pins."]
        TWO_WIRE_MASTER: [3, "Two-wire mode (Master). Uses SDA and SCL pins."]
    USICS:
      NO_CLOCK: [0, "No Clock/Software clock strobe"]
      TC0:      [1, "Timer/Counter0 Compare Match"]
      EXT_POS:  [2, "External, positive edge"]
      EXT_NEG:  [3, "External, negative edge"]
  USISR:
    _modify:
      USIDC:
        access: read-only
Do not follow this link