mirror of https://github.com/ARMmbed/mbed-os.git
InterruptIn: add note about enabling interrupts in rise/fall
Fixes #8188 Make it obvious, only calling rise/fall methods, IRQ are active. Nothing more needed.pull/15149/head
parent
54a4879801
commit
0a3b16868f
|
@ -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