File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ namespace mbed {
48
48
* }
49
49
*
50
50
* int main() {
51
+ * // register trigger() to be called upon the rising edge of event
51
52
* event.rise(&trigger);
52
53
* while(1) {
53
54
* led = !led;
@@ -71,7 +72,10 @@ class InterruptIn : private NonCopyable<InterruptIn> {
71
72
* and the pin configured to the specified mode.
72
73
*
73
74
* @param pin InterruptIn pin to connect to
74
- * @param mode The mode to set the pin to (PullUp/PullDown/etc.)
75
+ * @param mode Desired Pin mode configuration.
76
+ * (Valid values could be PullNone/PullDown/PullUp/PullDefault
77
+ * See PinNames.h for your target for definitions)
78
+ *
75
79
*/
76
80
InterruptIn (PinName pin, PinMode mode);
77
81
@@ -142,7 +146,8 @@ class InterruptIn : private NonCopyable<InterruptIn> {
142
146
143
147
/* * Set the input pin mode
144
148
*
145
- * @param pull PullUp, PullDown, PullNone
149
+ * @param pull PullUp, PullDown, PullNone, PullDefault
150
+ * See PinNames.h for your target for definitions)
146
151
*/
147
152
void mode (PinMode pull);
148
153
You can’t perform that action at this time.
0 commit comments