mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #15149 from 0xc0170/fix-issue-8188
InterruptIn: add note about enabling interrupts in rise/fallpull/15161/head
commit
d9b2b7d7ce
|
|
@ -99,12 +99,14 @@ public:
|
|||
|
||||
|
||||
/** Attach a function to call when a rising edge occurs on the input
|
||||
* Interrupts are enabled for the pin
|
||||
*
|
||||
* @param func A pointer to a void function, or 0 to set as none
|
||||
*/
|
||||
void rise(Callback<void()> func);
|
||||
|
||||
/** Attach a function to call when a falling edge occurs on the input
|
||||
* Interrupts are enabled for the pin
|
||||
*
|
||||
* @param func A pointer to a void function, or 0 to set as none
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue