Skip to content

Commit 985cd70

Browse files
author
Amanda Butler
authored
Edit InterruptIn.h
Make minor grammar edits.
1 parent 3ab4f76 commit 985cd70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/InterruptIn.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class InterruptIn : private NonCopyable<InterruptIn> {
7373
*
7474
* @param pin InterruptIn pin to connect to
7575
* @param mode Desired Pin mode configuration.
76-
* (Valid values could be PullNone/PullDown/PullUp/PullDefault
76+
* (Valid values could be PullNone, PullDown, PullUp and PullDefault.
7777
* See PinNames.h for your target for definitions)
7878
*
7979
*/
@@ -151,7 +151,7 @@ class InterruptIn : private NonCopyable<InterruptIn> {
151151
*/
152152
void mode(PinMode pull);
153153

154-
/** Enable IRQ. This method depends on hw implementation, might enable one
154+
/** Enable IRQ. This method depends on hardware implementation, might enable one
155155
* port interrupts. For further information, check gpio_irq_enable().
156156
*/
157157
void enable_irq();

0 commit comments

Comments
 (0)