-
Notifications
You must be signed in to change notification settings - Fork 0
/
mcus.go
74 lines (72 loc) · 7.82 KB
/
mcus.go
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
// Code generated by generate.go. DO NOT EDIT.
package devices
var mcus = []*MCU{
{"AT90PWM1", 0x9383, 0x40, 0x2000, 0x1f00, 0x0200, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"AT90PWM161", 0x948b, 0x80, 0x4000, 0x3f00, 0x0200, 0x3e, 2, 0x3d, 1, 0x3c, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"AT90PWM216", 0x9483, 0x80, 0x4000, 0x3e00, 0x0200, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"AT90PWM2B", 0x9383, 0x40, 0x2000, 0x1f00, 0x0200, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"AT90PWM316", 0x9483, 0x80, 0x4000, 0x3e00, 0x0200, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"AT90PWM3B", 0x9383, 0x40, 0x2000, 0x1f00, 0x0200, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"AT90PWM81", 0x9388, 0x40, 0x2000, 0x1f00, 0x0200, 0x3e, 2, 0x3d, 1, 0x3c, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"AT90USB162", 0x9482, 0x80, 0x4000, 0x3e00, 0x0200, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 7},
{"AT90USB82", 0x9382, 0x80, 0x2000, 0x1e00, 0x0200, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 7},
{"ATmega168", 0x9406, 0x80, 0x4000, 0x3f00, 0x0200, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATmega168A", 0x9406, 0x80, 0x4000, 0x3f00, 0x0200, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATmega168P", 0x940b, 0x80, 0x4000, 0x3f00, 0x0200, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATmega168PA", 0x940b, 0x80, 0x4000, 0x3f00, 0x0200, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATmega168PB", 0x9415, 0x80, 0x4000, 0x3f00, 0x0200, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATmega16HVA", 0x940c, 0x80, 0x4000, 0x0000, 0x0100, 0x41, 1, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 4},
{"ATmega16HVB", 0x940d, 0x80, 0x4000, 0x3e00, 0x0200, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 3},
{"ATmega16HVBrevB", 0x940d, 0x80, 0x4000, 0x3e00, 0x0200, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 3},
{"ATmega16M1", 0x9484, 0x80, 0x4000, 0x3e00, 0x0200, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATmega16U2", 0x9489, 0x80, 0x4000, 0x3e00, 0x0200, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 7},
{"ATmega328", 0x9514, 0x80, 0x8000, 0x7e00, 0x0400, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATmega328P", 0x950f, 0x80, 0x8000, 0x7e00, 0x0400, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATmega328PB", 0x9516, 0x80, 0x8000, 0x7e00, 0x0400, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATmega32C1", 0x9586, 0x80, 0x8000, 0x7e00, 0x0400, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATmega32HVB", 0x9510, 0x80, 0x8000, 0x7e00, 0x0400, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 3},
{"ATmega32HVBrevB", 0x9510, 0x80, 0x8000, 0x7e00, 0x0400, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 3},
{"ATmega32M1", 0x9584, 0x80, 0x8000, 0x7e00, 0x0400, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATmega32U2", 0x958a, 0x80, 0x8000, 0x7e00, 0x0400, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 7},
{"ATmega48", 0x9205, 0x40, 0x1000, 0x0000, 0x0100, 0x41, 1, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATmega48A", 0x9205, 0x40, 0x1000, 0x0000, 0x0100, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATmega48P", 0x920a, 0x40, 0x1000, 0x0000, 0x0100, 0x41, 1, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATmega48PA", 0x920a, 0x40, 0x1000, 0x0000, 0x0100, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATmega48PB", 0x9210, 0x40, 0x1000, 0x0000, 0x0100, 0x41, 1, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATmega88", 0x930a, 0x40, 0x2000, 0x1f00, 0x0200, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATmega88A", 0x930a, 0x40, 0x2000, 0x1f00, 0x0200, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATmega88P", 0x930f, 0x40, 0x2000, 0x1f00, 0x0200, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATmega88PA", 0x930f, 0x40, 0x2000, 0x1f00, 0x0200, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATmega88PB", 0x9316, 0x40, 0x2000, 0x1f00, 0x0200, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATmega8HVA", 0x9310, 0x80, 0x2000, 0x0000, 0x0100, 0x41, 1, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 4},
{"ATmega8U2", 0x9389, 0x80, 0x2000, 0x1e00, 0x0200, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 7},
{"ATtiny13", 0x9007, 0x20, 0x0400, 0x0000, 0x0040, 0x3e, 1, 0x3d, 1, 0x3c, 1, 0x57, 1, 0x5d, 1, 0x5f, 1, 1 << 3},
{"ATtiny13A", 0x9007, 0x20, 0x0400, 0x0000, 0x0040, 0x3e, 1, 0x3d, 1, 0x3c, 1, 0x57, 1, 0x5d, 1, 0x5f, 1, 1 << 3},
{"ATtiny1634", 0x9412, 0x20, 0x4000, 0x0000, 0x0100, 0x3e, 2, 0x3d, 1, 0x3c, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATtiny167", 0x9487, 0x80, 0x4000, 0x0000, 0x0200, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATtiny2313", 0x910a, 0x20, 0x0800, 0x0000, 0x0080, 0x3e, 1, 0x3d, 1, 0x3c, 1, 0x57, 1, 0x5d, 1, 0x5f, 1, 1 << 7},
{"ATtiny2313A", 0x910a, 0x20, 0x0800, 0x0000, 0x0080, 0x3e, 1, 0x3d, 1, 0x3c, 1, 0x57, 1, 0x5d, 1, 0x5f, 1, 1 << 7},
{"ATtiny24", 0x910b, 0x20, 0x0800, 0x0000, 0x0080, 0x3e, 2, 0x3d, 1, 0x3c, 1, 0x57, 1, 0x5d, 1, 0x5f, 1, 1 << 6},
{"ATtiny24A", 0x910b, 0x20, 0x0800, 0x0000, 0x0080, 0x3e, 2, 0x3d, 1, 0x3c, 1, 0x57, 1, 0x5d, 1, 0x5f, 1, 1 << 6},
{"ATtiny25", 0x9108, 0x20, 0x0800, 0x0000, 0x0080, 0x3e, 2, 0x3d, 1, 0x3c, 1, 0x57, 1, 0x5d, 1, 0x5f, 1, 1 << 6},
{"ATtiny261", 0x910c, 0x20, 0x0800, 0x0000, 0x0080, 0x3e, 2, 0x3d, 1, 0x3c, 1, 0x57, 1, 0x5d, 1, 0x5f, 1, 1 << 6},
{"ATtiny261A", 0x910c, 0x20, 0x0800, 0x0000, 0x0080, 0x3e, 2, 0x3d, 1, 0x3c, 1, 0x57, 1, 0x5d, 1, 0x5f, 1, 1 << 6},
{"ATtiny4313", 0x920d, 0x40, 0x1000, 0x0000, 0x0100, 0x3e, 1, 0x3d, 1, 0x3c, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 7},
{"ATtiny43U", 0x920c, 0x40, 0x1000, 0x0000, 0x0040, 0x3e, 1, 0x3d, 1, 0x3c, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATtiny44", 0x9207, 0x40, 0x1000, 0x0000, 0x0100, 0x3e, 2, 0x3d, 1, 0x3c, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATtiny441", 0x9215, 0x10, 0x1000, 0x0000, 0x0100, 0x3e, 2, 0x3d, 1, 0x3c, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATtiny44A", 0x9207, 0x40, 0x1000, 0x0000, 0x0100, 0x3e, 2, 0x3d, 1, 0x3c, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATtiny45", 0x9206, 0x40, 0x1000, 0x0000, 0x0100, 0x3e, 2, 0x3d, 1, 0x3c, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATtiny461", 0x9208, 0x40, 0x1000, 0x0000, 0x0100, 0x3e, 2, 0x3d, 1, 0x3c, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATtiny461A", 0x9208, 0x40, 0x1000, 0x0000, 0x0100, 0x3e, 2, 0x3d, 1, 0x3c, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATtiny48", 0x9209, 0x40, 0x1000, 0x0000, 0x0040, 0x41, 1, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATtiny828", 0x9314, 0x40, 0x2000, 0x1f00, 0x0100, 0x41, 1, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATtiny84", 0x930c, 0x40, 0x2000, 0x0000, 0x0200, 0x3e, 2, 0x3d, 1, 0x3c, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATtiny841", 0x9315, 0x10, 0x2000, 0x0000, 0x0200, 0x3e, 2, 0x3d, 1, 0x3c, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATtiny84A", 0x930c, 0x40, 0x2000, 0x0000, 0x0200, 0x3e, 2, 0x3d, 1, 0x3c, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATtiny85", 0x930b, 0x40, 0x2000, 0x0000, 0x0200, 0x3e, 2, 0x3d, 1, 0x3c, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATtiny861", 0x930d, 0x40, 0x2000, 0x0000, 0x0200, 0x3e, 2, 0x3d, 1, 0x3c, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATtiny861A", 0x930d, 0x40, 0x2000, 0x0000, 0x0200, 0x3e, 2, 0x3d, 1, 0x3c, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATtiny87", 0x9387, 0x80, 0x2000, 0x0000, 0x0200, 0x41, 2, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
{"ATtiny88", 0x9311, 0x40, 0x2000, 0x0000, 0x0040, 0x41, 1, 0x40, 1, 0x3f, 1, 0x57, 1, 0x5d, 2, 0x5f, 1, 1 << 6},
}