aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/machine/machine_atsamd51.go
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2022-09-05 16:19:00 +0200
committerRon Evans <[email protected]>2022-09-05 18:56:34 +0200
commit4ca9b34133aba934891af1a5132cded73ed99754 (patch)
tree7f5a7797ae666997c21b56a162d7e9f6b69e8cb6 /src/machine/machine_atsamd51.go
parentd5e4b1691129ed1d95dc6a11da5e22701b68c697 (diff)
downloadtinygo-4ca9b34133aba934891af1a5132cded73ed99754.tar.gz
tinygo-4ca9b34133aba934891af1a5132cded73ed99754.zip
machine: add PWM peripheral comments to pins
These comments will be used in a change to the tinygo.org documentation.
Diffstat (limited to 'src/machine/machine_atsamd51.go')
-rw-r--r--src/machine/machine_atsamd51.go128
1 files changed, 64 insertions, 64 deletions
diff --git a/src/machine/machine_atsamd51.go b/src/machine/machine_atsamd51.go
index dd0ba9994..20040bf96 100644
--- a/src/machine/machine_atsamd51.go
+++ b/src/machine/machine_atsamd51.go
@@ -78,86 +78,86 @@ const (
PA05 Pin = 5
PA06 Pin = 6
PA07 Pin = 7
- PA08 Pin = 8
- PA09 Pin = 9
- PA10 Pin = 10
- PA11 Pin = 11
- PA12 Pin = 12
- PA13 Pin = 13
- PA14 Pin = 14
- PA15 Pin = 15
- PA16 Pin = 16
- PA17 Pin = 17
- PA18 Pin = 18
- PA19 Pin = 19
- PA20 Pin = 20
- PA21 Pin = 21
- PA22 Pin = 22
- PA23 Pin = 23
- PA24 Pin = 24
- PA25 Pin = 25
+ PA08 Pin = 8 // peripherals: TCC0 channel 0, TCC1 channel 4
+ PA09 Pin = 9 // peripherals: TCC0 channel 1, TCC1 channel 5
+ PA10 Pin = 10 // peripherals: TCC0 channel 2, TCC1 channel 6
+ PA11 Pin = 11 // peripherals: TCC0 channel 3, TCC1 channel 7
+ PA12 Pin = 12 // peripherals: TCC0 channel 6, TCC1 channel 2
+ PA13 Pin = 13 // peripherals: TCC0 channel 7, TCC1 channel 3
+ PA14 Pin = 14 // peripherals: TCC2 channel 0, TCC1 channel 2
+ PA15 Pin = 15 // peripherals: TCC2 channel 1, TCC1 channel 3
+ PA16 Pin = 16 // peripherals: TCC1 channel 0, TCC0 channel 4
+ PA17 Pin = 17 // peripherals: TCC1 channel 1, TCC0 channel 5
+ PA18 Pin = 18 // peripherals: TCC1 channel 2, TCC0 channel 6
+ PA19 Pin = 19 // peripherals: TCC1 channel 3, TCC0 channel 7
+ PA20 Pin = 20 // peripherals: TCC1 channel 4, TCC0 channel 0
+ PA21 Pin = 21 // peripherals: TCC1 channel 5, TCC0 channel 1
+ PA22 Pin = 22 // peripherals: TCC1 channel 6, TCC0 channel 2
+ PA23 Pin = 23 // peripherals: TCC1 channel 7, TCC0 channel 3
+ PA24 Pin = 24 // peripherals: TCC2 channel 2
+ PA25 Pin = 25 // peripherals: TCC2 channel 3
PA26 Pin = 26
PA27 Pin = 27
PA28 Pin = 28
PA29 Pin = 29
- PA30 Pin = 30
- PA31 Pin = 31
+ PA30 Pin = 30 // peripherals: TCC2 channel 0
+ PA31 Pin = 31 // peripherals: TCC2 channel 1
PB00 Pin = 32
PB01 Pin = 33
- PB02 Pin = 34
- PB03 Pin = 35
+ PB02 Pin = 34 // peripherals: TCC2 channel 2
+ PB03 Pin = 35 // peripherals: TCC2 channel 3
PB04 Pin = 36
PB05 Pin = 37
PB06 Pin = 38
PB07 Pin = 39
PB08 Pin = 40
PB09 Pin = 41
- PB10 Pin = 42
- PB11 Pin = 43
- PB12 Pin = 44
- PB13 Pin = 45
- PB14 Pin = 46
- PB15 Pin = 47
- PB16 Pin = 48
- PB17 Pin = 49
- PB18 Pin = 50
- PB19 Pin = 51
- PB20 Pin = 52
- PB21 Pin = 53
+ PB10 Pin = 42 // peripherals: TCC0 channel 4, TCC1 channel 0
+ PB11 Pin = 43 // peripherals: TCC0 channel 5, TCC1 channel 1
+ PB12 Pin = 44 // peripherals: TCC3 channel 0, TCC0 channel 0
+ PB13 Pin = 45 // peripherals: TCC3 channel 1, TCC0 channel 1
+ PB14 Pin = 46 // peripherals: TCC4 channel 0, TCC0 channel 2
+ PB15 Pin = 47 // peripherals: TCC4 channel 1, TCC0 channel 3
+ PB16 Pin = 48 // peripherals: TCC3 channel 0, TCC0 channel 4
+ PB17 Pin = 49 // peripherals: TCC3 channel 1, TCC0 channel 5
+ PB18 Pin = 50 // peripherals: TCC1 channel 0
+ PB19 Pin = 51 // peripherals: TCC1 channel 1
+ PB20 Pin = 52 // peripherals: TCC1 channel 2
+ PB21 Pin = 53 // peripherals: TCC1 channel 3
PB22 Pin = 54
PB23 Pin = 55
PB24 Pin = 56
PB25 Pin = 57
- PB26 Pin = 58
- PB27 Pin = 59
- PB28 Pin = 60
- PB29 Pin = 61
- PB30 Pin = 62
- PB31 Pin = 63
+ PB26 Pin = 58 // peripherals: TCC1 channel 2
+ PB27 Pin = 59 // peripherals: TCC1 channel 3
+ PB28 Pin = 60 // peripherals: TCC1 channel 4
+ PB29 Pin = 61 // peripherals: TCC1 channel 5
+ PB30 Pin = 62 // peripherals: TCC4 channel 0, TCC0 channel 6
+ PB31 Pin = 63 // peripherals: TCC4 channel 1, TCC0 channel 7
PC00 Pin = 64
PC01 Pin = 65
PC02 Pin = 66
PC03 Pin = 67
- PC04 Pin = 68
- PC05 Pin = 69
+ PC04 Pin = 68 // peripherals: TCC0 channel 0
+ PC05 Pin = 69 // peripherals: TCC0 channel 1
PC06 Pin = 70
PC07 Pin = 71
PC08 Pin = 72
PC09 Pin = 73
- PC10 Pin = 74
- PC11 Pin = 75
- PC12 Pin = 76
- PC13 Pin = 77
- PC14 Pin = 78
- PC15 Pin = 79
- PC16 Pin = 80
- PC17 Pin = 81
- PC18 Pin = 82
- PC19 Pin = 83
- PC20 Pin = 84
- PC21 Pin = 85
- PC22 Pin = 86
- PC23 Pin = 87
+ PC10 Pin = 74 // peripherals: TCC0 channel 0, TCC1 channel 4
+ PC11 Pin = 75 // peripherals: TCC0 channel 1, TCC1 channel 5
+ PC12 Pin = 76 // peripherals: TCC0 channel 2, TCC1 channel 6
+ PC13 Pin = 77 // peripherals: TCC0 channel 3, TCC1 channel 7
+ PC14 Pin = 78 // peripherals: TCC0 channel 4, TCC1 channel 0
+ PC15 Pin = 79 // peripherals: TCC0 channel 5, TCC1 channel 1
+ PC16 Pin = 80 // peripherals: TCC0 channel 0
+ PC17 Pin = 81 // peripherals: TCC0 channel 1
+ PC18 Pin = 82 // peripherals: TCC0 channel 2
+ PC19 Pin = 83 // peripherals: TCC0 channel 3
+ PC20 Pin = 84 // peripherals: TCC0 channel 4
+ PC21 Pin = 85 // peripherals: TCC0 channel 5
+ PC22 Pin = 86 // peripherals: TCC0 channel 6
+ PC23 Pin = 87 // peripherals: TCC0 channel 7
PC24 Pin = 88
PC25 Pin = 89
PC26 Pin = 90
@@ -174,20 +174,20 @@ const (
PD05 Pin = 101
PD06 Pin = 102
PD07 Pin = 103
- PD08 Pin = 104
- PD09 Pin = 105
- PD10 Pin = 106
- PD11 Pin = 107
- PD12 Pin = 108
- PD13 Pin = 109
+ PD08 Pin = 104 // peripherals: TCC0 channel 1
+ PD09 Pin = 105 // peripherals: TCC0 channel 2
+ PD10 Pin = 106 // peripherals: TCC0 channel 3
+ PD11 Pin = 107 // peripherals: TCC0 channel 4
+ PD12 Pin = 108 // peripherals: TCC0 channel 5
+ PD13 Pin = 109 // peripherals: TCC0 channel 6
PD14 Pin = 110
PD15 Pin = 111
PD16 Pin = 112
PD17 Pin = 113
PD18 Pin = 114
PD19 Pin = 115
- PD20 Pin = 116
- PD21 Pin = 117
+ PD20 Pin = 116 // peripherals: TCC1 channel 0
+ PD21 Pin = 117 // peripherals: TCC1 channel 1
PD22 Pin = 118
PD23 Pin = 119
PD24 Pin = 120