Skip to content

Commit faddd19

Browse files
committed
README updated to add the new API for the One Second interupt
Signed-off-by: Francois Ramu <[email protected]>
1 parent b2a05c7 commit faddd19

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,20 @@ _Library version management_
100100
#endif
101101
```
102102

103+
### Since STM32RTC version higher than 1.1.1
104+
105+
_One-Second interrupt_
106+
107+
STM32 RTC includes a one-second interrupt for generating a periodic interrupt signal.
108+
- This feature is native on the stm32F1xx and mapped on the existing WakeUp interrupt on other stm32 mcus.
109+
- It is not available on some stm32F0 devices.
110+
111+
* **new API:**
112+
* **`void attachSecondsInterrupt(voidFuncPtr callback)`**
113+
* **`void detachSecondsInterrupt(void)`**
114+
115+
116+
103117
### Since STM32 Core version > 1.5.0
104118
_Reset time management_
105119

@@ -118,10 +132,10 @@ To know if a time has already been set use:
118132
}
119133
```
120134
121-
Refer to the Arduino RTC documentation for the other functions
135+
Refer to the Arduino RTC documentation for the other functions
122136
http://arduino.cc/en/Reference/RTC
123137
124138
## Source
125139
126-
Source files available at:
140+
Source files available at:
127141
https://github.com/stm32duino/STM32RTC

0 commit comments

Comments
 (0)