~ruther/avr-device

ref: 06ef5e65c7234543f08be66f1a10c284e2cdd68f avr-device/patch/common/attiny-0-series.yaml -rw-r--r-- 1.2 KiB
06ef5e65 — Michael Buesch Small fixes 2 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# This is probably good for at least ATtiny202/204/402/404/406, but may not be valid for ATtiny80* and ATtiny160*

TCB0:
  CTRLB:
    _modify:
      # 'async' is reserved
      ASYNC:
        name: "TCB_ASYNC"

# Split this in 2 for ease of use
TWI0:
  SADDR:
    _add:
      # FIXME: Make this so we don't need 'unsafe'
      ADDR:
        description: "Client Address"
        bitRange: "[7:1]"
        access: read-write
      GCE:
        description: "General Call Recognition Enable Bit"
        bitRange: "[0:0]"
        access: read-write

USERROW:
  _modify:
    "USERROW*":
      description: "User Row Bytes"
  _array:
    "USERROW*": {}

GPIO:
  _modify:
    "GPIO*":
      description: "General Purpose IO Registers"
  _array:
    "GPIO*": {}

SIGROW:
  _modify:
    "DEVICEID*":
      description: "Device IO Bytes"
    "SERNUM*":
      description: "Serial Number Bytes"
    "TEMPSENSE0":
      description: "Temperature Sensor Calibration: Gain/Slope"
    "TEMPSENSE1":
      description: "Temperature Sensor Calibration: Offset"
  _array:
    "DEVICEID*" : {}
    "SERNUM*" : {}

# All FUSEs are read-only from the CPU (can only be modified with UPDI)
FUSE:
  _modify:
    "*":
      access: read-only
Do not follow this link