mbed library sources. Supersedes mbed-src. Fixed broken STM32F1xx RTC on rtc_api.c
Dependents: Nucleo_F103RB_RTC_battery_bkup_pwr_off_okay
Fork of mbed-dev by
Diff: drivers/InterruptIn.h
- Revision:
- 167:e84263d55307
- Parent:
- 160:d5399cc887bb
- Child:
- 168:9672193075cf
--- a/drivers/InterruptIn.h Thu Jun 08 15:02:37 2017 +0100 +++ b/drivers/InterruptIn.h Wed Jun 21 17:46:44 2017 +0100 @@ -18,7 +18,7 @@ #include "platform/platform.h" -#if DEVICE_INTERRUPTIN +#if defined (DEVICE_INTERRUPTIN) || defined(DOXYGEN_ONLY) #include "hal/gpio_api.h" #include "hal/gpio_irq_api.h" @@ -28,11 +28,10 @@ namespace mbed { /** \addtogroup drivers */ -/** @{*/ /** A digital interrupt input, used to call a function on a rising or falling edge * - * @Note Synchronization level: Interrupt safe + * @note Synchronization level: Interrupt safe * * Example: * @code @@ -55,6 +54,7 @@ * } * } * @endcode + * @ingroup drivers */ class InterruptIn { @@ -63,7 +63,6 @@ /** Create an InterruptIn connected to the specified pin * * @param pin InterruptIn pin to connect to - * @param name (optional) A string to identify the object */ InterruptIn(PinName pin); virtual ~InterruptIn(); @@ -131,7 +130,7 @@ /** Set the input pin mode * - * @param mode PullUp, PullDown, PullNone + * @param pull PullUp, PullDown, PullNone */ void mode(PinMode pull); @@ -160,5 +159,3 @@ #endif #endif - -/** @}*/