Skip to content

Commit 6fc60e0

Browse files
authored
Update README.md
1 parent 485319f commit 6fc60e0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,11 @@ Arduino library to support STM32 Low Power.
3030
**param** serial: pointer to a UART
3131
**param** callback: pointer to a callback to call when the board is waked up.
3232

33-
* **`void enableWakeupFrom(STM32RTC *rtc, voidFuncPtr callback)`**
33+
* **`void enableWakeupFrom(STM32RTC *rtc, voidFuncPtr callback, void * data)`**
3434
attach a callback to the RTC peripheral.
35-
**param** rtc: pointer to RTC
35+
**param** rtc: pointer to RTC. Could be NULL as RTC is a Singleton.
3636
**param** callback: pointer to a callback to call when the board is waked up.
37+
**param** callback: data: optional pointer to callback data parameters (default NULL).
3738

3839
* **`void enableWakeupFrom(TwoWire *wire, voidFuncPtrVoid callback)`**:
3940
enable an I2C peripheral in low power mode. See board documentation for low power mode compatibility. **Currently not available.**

0 commit comments

Comments
 (0)