File tree Expand file tree Collapse file tree 10 files changed +39
-2
lines changed Expand file tree Collapse file tree 10 files changed +39
-2
lines changed Original file line number Diff line number Diff line change @@ -103,20 +103,25 @@ class AnalogOut {
103
103
}
104
104
105
105
/* * An operator shorthand for write()
106
+ * \sa AnalogOut::write()
106
107
*/
107
108
AnalogOut& operator = (float percent) {
108
109
// Underlying write call is thread safe
109
110
write (percent);
110
111
return *this ;
111
112
}
112
113
114
+ /* * An operator shorthand for write()
115
+ * \sa AnalogOut::write()
116
+ */
113
117
AnalogOut& operator = (AnalogOut& rhs) {
114
118
// Underlying write call is thread safe
115
119
write (rhs.read ());
116
120
return *this ;
117
121
}
118
122
119
123
/* * An operator shorthand for read()
124
+ * \sa AnalogOut::read()
120
125
*/
121
126
operator float () {
122
127
// Underlying read call is thread safe
Original file line number Diff line number Diff line change @@ -95,10 +95,12 @@ class BusIn {
95
95
}
96
96
97
97
/* * A shorthand for read()
98
+ * \sa DigitalIn::read()
98
99
*/
99
100
operator int ();
100
101
101
102
/* * Access to particular bit in random-iterator fashion
103
+ * @param index Position of bit
102
104
*/
103
105
DigitalIn & operator [] (int index);
104
106
Original file line number Diff line number Diff line change @@ -108,15 +108,18 @@ class BusInOut {
108
108
}
109
109
110
110
/* * A shorthand for write()
111
- */
111
+ * \sa BusInOut::write()
112
+ */
112
113
BusInOut& operator = (int v);
113
114
BusInOut& operator = (BusInOut& rhs);
114
115
115
116
/* * Access to particular bit in random-iterator fashion
116
- */
117
+ * @param index Bit Position
118
+ */
117
119
DigitalInOut& operator [] (int index);
118
120
119
121
/* * A shorthand for read()
122
+ * \sa BusInOut::read()
120
123
*/
121
124
operator int ();
122
125
Original file line number Diff line number Diff line change @@ -92,15 +92,18 @@ class BusOut {
92
92
}
93
93
94
94
/* * A shorthand for write()
95
+ * \sa BusOut::write()
95
96
*/
96
97
BusOut& operator = (int v);
97
98
BusOut& operator = (BusOut& rhs);
98
99
99
100
/* * Access to particular bit in random-iterator fashion
101
+ * @param index Bit Position
100
102
*/
101
103
DigitalOut& operator [] (int index);
102
104
103
105
/* * A shorthand for read()
106
+ * \sa BusOut::read()
104
107
*/
105
108
operator int ();
106
109
Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ class DigitalIn {
102
102
}
103
103
104
104
/* * An operator shorthand for read()
105
+ * \sa DigitalIn::read()
105
106
*/
106
107
operator int () {
107
108
// Underlying read is thread safe
Original file line number Diff line number Diff line change @@ -112,13 +112,17 @@ class DigitalInOut {
112
112
}
113
113
114
114
/* * A shorthand for write()
115
+ * \sa DigitalInOut::write()
115
116
*/
116
117
DigitalInOut& operator = (int value) {
117
118
// Underlying write is thread safe
118
119
write (value);
119
120
return *this ;
120
121
}
121
122
123
+ /* * A shorthand for write()
124
+ * \sa DigitalInOut::write()
125
+ */
122
126
DigitalInOut& operator = (DigitalInOut& rhs) {
123
127
core_util_critical_section_enter ();
124
128
write (rhs.read ());
@@ -127,6 +131,7 @@ class DigitalInOut {
127
131
}
128
132
129
133
/* * A shorthand for read()
134
+ * \sa DigitalInOut::read()
130
135
*/
131
136
operator int () {
132
137
// Underlying call is thread safe
Original file line number Diff line number Diff line change @@ -98,13 +98,17 @@ class DigitalOut {
98
98
}
99
99
100
100
/* * A shorthand for write()
101
+ * \sa DigitalOut::write()
101
102
*/
102
103
DigitalOut& operator = (int value) {
103
104
// Underlying write is thread safe
104
105
write (value);
105
106
return *this ;
106
107
}
107
108
109
+ /* * A shorthand for write()
110
+ * \sa DigitalOut::write()
111
+ */
108
112
DigitalOut& operator = (DigitalOut& rhs) {
109
113
core_util_critical_section_enter ();
110
114
write (rhs.read ());
@@ -113,6 +117,7 @@ class DigitalOut {
113
117
}
114
118
115
119
/* * A shorthand for read()
120
+ * \sa DigitalOut::read()
116
121
*/
117
122
operator int () {
118
123
// Underlying call is thread safe
Original file line number Diff line number Diff line change @@ -89,18 +89,23 @@ class PortInOut {
89
89
}
90
90
91
91
/* * A shorthand for write()
92
+ * \sa PortInOut::write()
92
93
*/
93
94
PortInOut& operator = (int value) {
94
95
write (value);
95
96
return *this ;
96
97
}
97
98
99
+ /* * A shorthand for write()
100
+ * \sa PortInOut::write()
101
+ */
98
102
PortInOut& operator = (PortInOut& rhs) {
99
103
write (rhs.read ());
100
104
return *this ;
101
105
}
102
106
103
107
/* * A shorthand for read()
108
+ * \sa PortInOut::read()
104
109
*/
105
110
operator int () {
106
111
return read ();
Original file line number Diff line number Diff line change @@ -83,18 +83,23 @@ class PortOut {
83
83
}
84
84
85
85
/* * A shorthand for write()
86
+ * \sa PortOut::write()
86
87
*/
87
88
PortOut& operator = (int value) {
88
89
write (value);
89
90
return *this ;
90
91
}
91
92
93
+ /* * A shorthand for read()
94
+ * \sa PortOut::read()
95
+ */
92
96
PortOut& operator = (PortOut& rhs) {
93
97
write (rhs.read ());
94
98
return *this ;
95
99
}
96
100
97
101
/* * A shorthand for read()
102
+ * \sa PortOut::read()
98
103
*/
99
104
operator int () {
100
105
return read ();
Original file line number Diff line number Diff line change @@ -151,6 +151,7 @@ class PwmOut {
151
151
}
152
152
153
153
/* * A operator shorthand for write()
154
+ * \sa PwmOut::write()
154
155
*/
155
156
PwmOut& operator = (float value) {
156
157
// Underlying call is thread safe
@@ -159,6 +160,7 @@ class PwmOut {
159
160
}
160
161
161
162
/* * A operator shorthand for write()
163
+ * \sa PwmOut::write()
162
164
*/
163
165
PwmOut& operator = (PwmOut& rhs) {
164
166
// Underlying call is thread safe
@@ -167,6 +169,7 @@ class PwmOut {
167
169
}
168
170
169
171
/* * An operator shorthand for read()
172
+ * \sa PwmOut::read()
170
173
*/
171
174
operator float () {
172
175
// Underlying call is thread safe
You can’t perform that action at this time.
0 commit comments