~ruther/avr-device

ref: 8be91f55956952f89e4ceb71847fafa51ed6f835 avr-device/patch/attiny2313-common.yaml -rw-r--r-- 968 bytes
8be91f55 — František Boháček Split WGM2 to WGM21, WGM20 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
_include:
  - "common/ac.yaml"
  - "common/eeprom.yaml"
  - "common/wdt.yaml"
  - "common/tiny/usi.yaml"

  - "timer/attiny2313-common.yaml"

CPU:
  MCUCR:
    ISC?:
      _replace_enum:
        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"]
  CLKPR:
    CLKPS:
      _replace_enum:
        PRESCALER_1: [0, "Prescaler Value 1"]
        PRESCALER_2: [1, "Prescaler Value 2"]
        PRESCALER_4: [2, "Prescaler Value 4"]
        PRESCALER_8: [3, "Prescaler Value 8"]
        PRESCALER_16: [4, "Prescaler Value 16"]
        PRESCALER_32: [5, "Prescaler Value 32"]
        PRESCALER_64: [6, "Prescaler Value 64"]
        PRESCALER_128: [7, "Prescaler Value 128"]
        PRESCALER_256: [8, "Prescaler Value 256"]
Do not follow this link